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_token?: string;
expires_in?: number;
issued_token_type?: string;
token_type?: string;
}

§Properties

§
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 Google-issued, short-lived access token. 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.