getMyCredentials method

Future<Map<String, dynamic>> getMyCredentials(
  1. String strategy
)

Get credential information of the specified strategy for the current user.

Implementation

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

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