getAllCredentialFields method

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

Retrieves the list of fields accepted by authentication strategies.

Implementation

Future<Map<String, dynamic>> getAllCredentialFields() async {
  final response = await kuzzle.query(KuzzleRequest(
    controller: name,
    action: 'getAllCredentialFields',
  ));

  return response.result as Map<String, dynamic>;
}