GoogleIdentityStsV1ExchangeOauthTokenRequest class
Request message for ExchangeOauthToken
Constructors
- GoogleIdentityStsV1ExchangeOauthTokenRequest({String? clientId, String? code, String? codeVerifier, String? grantType, String? redirectUri, String? refreshToken, String? scope})
- GoogleIdentityStsV1ExchangeOauthTokenRequest.fromJson(Map json_)
Properties
- clientId ↔ String?
-
The client identifier for the OAuth 2.0 client that requested the provided
token.
getter/setter pair
- code ↔ String?
-
The authorization code that was previously from workforce identity
federation's
authorize
endpoint.getter/setter pair - codeVerifier ↔ String?
-
The code verifier for the PKCE request, Google Cloud CLI originally
generates it before the authorization request.
getter/setter pair
- grantType ↔ String?
-
The grant types are as follows: - 'authorization_code' : an authorization
code flow, i.e. exchange of authorization code for the Oauth access token
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- redirectUri ↔ String?
-
redirect_url is required when the flow is authorization code flow i.e. if
grant_type is
authorization_code
See https://www.rfc-editor.org/rfc/rfc6749#section-4.1.3getter/setter pair - refreshToken ↔ String?
-
The Refresh token is the credential that is used to obtain a new access
token when the current access token becomes invalid or expires.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope ↔ String?
-
An optional list of scopes that are requested for the token to be
returned.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited