authenticate method

Future<bool> authenticate(
  1. ClientAuthContext clientAuthContext,
  2. IdentityProvider identityProvider,
  3. String tokenString
)

This function authenticates a client using an identity provider, clientAuthContext and a token string.

Args: clientAuthContext (ClientAuthContext): An object that contains information about the client's authentication context. identityProvider (IdentityProvider): The identityProvider parameter is an object that represents the identity provider used for authentication. tokenString (String): The tokenString parameter is a string that represents an authentication token.

Implementation

Future<bool> authenticate(ClientAuthContext clientAuthContext,
    IdentityProvider identityProvider, String tokenString) async {
  return _methods.authenticate(
      clientAuthContext, identityProvider, tokenString);
}