getCredentialFields #
Retrieves the list of accepted field names by the specified authentication strategy
Future<Map<String, dynamic>> getCredentialFields(String strategy)
Property | Type | Description |
---|---|---|
strategy | String | Strategy identifier |
Resolves #
A List of accepted field names.
Usage #
final result = await kuzzle.security.getCredentialFields('local');
/*
['username', 'password']
*/
Edit this page on Github(opens new window)