SDK
SDK Dart v1.x
2

# getCredentialFields

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


Copied to clipboard!
Future<Map<String, dynamic>> getCredentialFields(String strategy)

Property Type Description
strategy
String
Strategy identifier

# Resolves

A List of accepted field names.

# Usage

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