SDK
SDK Dart Null Safety v3.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: [ ] }
*/