GoogleAccountsOauth2 class abstract
The Dart definition of the google.accounts.oauth2
global.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
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 -
Available on GoogleAccountsOauth2, provided by the GoogleAccountsOauth2Extension extension
Checks if hte user has granted all the specifiedscopes
. -
hasGrantedAnyScopes(
TokenResponse tokenResponse, List< String> scopes) → bool -
Available on GoogleAccountsOauth2, provided by the GoogleAccountsOauth2Extension extension
Checks if hte user has granted all the specifiedscopes
. -
initCodeClient(
CodeClientConfig config) → CodeClient -
Available on GoogleAccountsOauth2, provided by the GoogleAccountsOauth2Extension extension
Initializes and returns a code client, with the passed-inconfig
. -
initTokenClient(
TokenClientConfig config) → TokenClient -
Available on GoogleAccountsOauth2, provided by the GoogleAccountsOauth2Extension extension
Initializes and returns a token client, with the passed-inconfig
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
revoke(
String accessToken, [RevokeTokenDoneFn? done]) → void -
Available on GoogleAccountsOauth2, provided by the GoogleAccountsOauth2Extension extension
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