credentialsExist method

Future<bool> credentialsExist(
  1. String strategy
)

Check the existence of the specified strategy's credentials for the current user.

Implementation

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

  return response.result as bool;
}