SDK
SDK Dart v2.x
2

getAllCredentialFields #

Retrieves the list of fields accepted by authentication strategies.


Future<Map<String, dynamic>> getAllCredentialFields()

Return #

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

Usage #

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