SDK
SDK Dart v1.x
2

# getAllCredentialFields

Retrieves the list of fields accepted by authentication strategies.


Copied to clipboard!
Future<Map<String, dynamic>> getAllCredentialFields()

# Return

An object with one property set per authentication strategy, each being an array of accepted field names.

# Usage

Copied to clipboard!
final result = await kuzzle.security.getAllCredentialFields();
/*
{ local: [ 'username', 'password' ],
  facebook: [ ] }
*/