ParsedToken interface

Interface representing a parsed ID token.

Signature:

exportinterfaceParsedToken

Properties

PropertyTypeDescription
auth_timestringTime at which authentication was performed.
expstringExpiration time of the token.
firebase{ 'sign_in_provider'?: string; 'sign_in_second_factor'?: string; 'identities'?: Record<string, string>; }Firebase specific claims, containing the provider(s) used to authenticate the user.
iatstringIssuance time of the token.
substringUID of the user.

ParsedToken.auth_time

Time at which authentication was performed.

Signature:

'auth_time'?:string;

ParsedToken.exp

Expiration time of the token.

Signature:

'exp'?:string;

ParsedToken.firebase

Firebase specific claims, containing the provider(s) used to authenticate the user.

Signature:

'firebase'?:{'sign_in_provider'?:string;'sign_in_second_factor'?:string;'identities'?:Record<string,string>;};

ParsedToken.iat

Issuance time of the token.

Signature:

'iat'?:string;

ParsedToken.sub

UID of the user.

Signature:

'sub'?:string;

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-07-22 UTC.