Class GoogleIdentityStsV1betaExchangeTokenResponse
Response message for ExchangeToken.
Implements
Inherited Members
Namespace: Google.Apis.CloudSecurityToken.v1beta.Data
Assembly: Google.Apis.CloudSecurityToken.v1beta.dll
Syntax
public class GoogleIdentityStsV1betaExchangeTokenResponse : IDirectResponseSchema
Properties
AccessToken
An OAuth 2.0 security token, issued by Google, in response to the token exchange request. Tokens can vary in size, depending in part on the size of mapped claims, up to a maximum of 12288 bytes (12 KB). Google reserves the right to change the token size and the maximum length at any time.
Declaration
[JsonProperty("access_token")]
public virtual string AccessToken { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExpiresIn
The amount of time, in seconds, between the time when the access token was issued and the time when the
access token will expire. This field is absent when the subject_token
in the request is a Google-issued,
short-lived access token. In this case, the access token has the same expiration time as the
subject_token
.
Declaration
[JsonProperty("expires_in")]
public virtual int? ExpiresIn { get; set; }
Property Value
Type | Description |
---|---|
int? |
IssuedTokenType
The token type. Always matches the value of requested_token_type
from the request.
Declaration
[JsonProperty("issued_token_type")]
public virtual string IssuedTokenType { get; set; }
Property Value
Type | Description |
---|---|
string |
TokenType
The type of access token. Always has the value Bearer
.
Declaration
[JsonProperty("token_type")]
public virtual string TokenType { get; set; }
Property Value
Type | Description |
---|---|
string |