SDK
SDK Dart v2.x
2

getCredentialFields #

Retrieves the list of accepted field names by the specified authentication strategy


Future<Map<String, dynamic>> getCredentialFields(String strategy)

PropertyTypeDescription
strategy
String
Strategy identifier

Resolves #

A List of accepted field names.

Usage #

final result = await kuzzle.security.getCredentialFields('local');
/*
['username', 'password']
*/