Interface CredentialRequest (7.10.4)

Package

google-auth-library

Properties

access_token

access_token?: string;

A token that can be sent to a Google API.

expires_in

expires_in?: number;

The remaining lifetime of the access token in seconds.

id_token

id_token?: string;

A JWT that contains identity information about the user that is digitally signed by Google.

refresh_token

refresh_token?: string;

This field is only present if the access_type parameter was set to offline in the authentication request. For details, see Refresh tokens.

scope

scope?: string;

The scopes of access granted by the access_token expressed as a list of space-delimited, case-sensitive strings.

token_type

token_type?: string;

Identifies the type of token returned. At this time, this field always has the value Bearer.