bdaya_oauth2
library
Functions
-
clientCredentialsGrant(Uri authorizationEndpoint, String? identifier, String? secret, {Iterable<String>? scopes, bool basicAuth = true, Client? httpClient, String? delimiter, Map<String, dynamic> getParameters(MediaType? contentType, String body)?})
→ Future<Client>
-
Obtains credentials using a client credentials grant.
-
resourceOwnerPasswordGrant(Uri authorizationEndpoint, String username, String password, {String? identifier, String? secret, Iterable<String>? scopes, bool basicAuth = true, CredentialsRefreshedCallback? onCredentialsRefreshed, Client? httpClient, String? delimiter, Map<String, dynamic> getParameters(MediaType? contentType, String body)?})
→ Future<Client>
-
Obtains credentials using a resource owner password grant.