pub struct GoogleIdentityStsV1ExchangeTokenResponse {
pub access_boundary_session_key: Option<Vec<u8>>,
pub access_token: Option<String>,
pub expires_in: Option<i32>,
pub issued_token_type: Option<String>,
pub token_type: Option<String>,
}Expand description
Fields§
§access_boundary_session_key: Option<Vec<u8>>The access boundary session key. This key is used along with the access boundary intermediary token to generate Credential Access Boundary tokens at client side. This field is absent when the requested_token_type from the request is not urn:ietf:params:oauth:token-type:access_boundary_intermediary_token.
access_token: Option<String>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.
expires_in: Option<i32>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 a short-lived access token for a Cloud Identity or Google Workspace user account. In this case, the access token has the same expiration time as the subject_token.
issued_token_type: Option<String>The token type. Always matches the value of requested_token_type from the request.
token_type: Option<String>The type of access token. Always has the value Bearer.
Trait Implementations§
Source§impl Clone for GoogleIdentityStsV1ExchangeTokenResponse
impl Clone for GoogleIdentityStsV1ExchangeTokenResponse
Source§fn clone(&self) -> GoogleIdentityStsV1ExchangeTokenResponse
fn clone(&self) -> GoogleIdentityStsV1ExchangeTokenResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more