OAuth2TokenExchange class abstract
OAuth2 Token Exchange Result
Properties:
- accessToken - The access token issued by the authorization server.
- expiresIn - The lifetime in seconds of the access token. For example, the value "3600" denotes that the access token will expire in one hour from the time the response was generated.
- idToken - To retrieve a refresh token request the id_token scope.
- refreshToken - The refresh token, which can be used to obtain new access tokens. To retrieve it add the scope "offline" to your access token request.
- scope - The scope of the access token
- tokenType - The type of the token issued
- Annotations
-
- @BuiltValue()
Constructors
- OAuth2TokenExchange([void updates(dynamic b)])
-
factory
Properties
- accessToken → String?
-
The access token issued by the authorization server.
no setter
- expiresIn → int?
-
The lifetime in seconds of the access token. For example, the value "3600" denotes that the access token will expire in one hour from the time the response was generated.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- idToken → int?
-
To retrieve a refresh token request the id_token scope.
no setter
- refreshToken → String?
-
The refresh token, which can be used to obtain new access tokens. To retrieve it add the scope "offline" to your access token request.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope → String?
-
The scope of the access token
no setter
- tokenType → String?
-
The type of the token issued
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(dynamic)) → OAuth2TokenExchange -
Rebuilds the instance.
inherited
-
toBuilder(
) → dynamic -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
OAuth2TokenExchange> -
no setter