GoogleAccountsOauth2 extension type

The Dart definition of the google.accounts.oauth2 global.

on
Implemented types
Available extensions

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

hasGrantedAllScopes(TokenResponse tokenResponse, List<String> scopes) bool
Checks if hte user has granted all the specified scopes.
hasGrantedAnyScopes(TokenResponse tokenResponse, List<String> scopes) bool
Checks if hte user has granted all the specified scopes.
initCodeClient(CodeClientConfig config) CodeClient
Initializes and returns a code client, with the passed-in config.
initTokenClient(TokenClientConfig config) TokenClient
Initializes and returns a token client, with the passed-in config.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
revoke(String accessToken, [RevokeTokenDoneFn? done]) → void
Revokes all of the scopes that the user granted to the app.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited