Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleIdentityStsV1ExchangeTokenResponse

import type { GoogleIdentityStsV1ExchangeTokenResponse } from "https://googleapis.deno.dev/v1/sts:v1.ts";

Response message for ExchangeToken.

interface GoogleIdentityStsV1ExchangeTokenResponse {
access_boundary_session_key?: Uint8Array;
access_token?: string;
expires_in?: number;
issued_token_type?: string;
token_type?: string;
}

§Properties

§
access_boundary_session_key?: Uint8Array
[src]

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?: string
[src]

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?: number
[src]

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?: string
[src]

The token type. Always matches the value of requested_token_type from the request.

§
token_type?: string
[src]

The type of access token. Always has the value Bearer.