ParsedToken interface
Stay organized with collections
Save and categorize content based on your preferences.
Interface representing a parsed ID token.
Signature:
export interface ParsedToken
Properties
Property |
Type |
Description |
auth_time |
string |
Time at which authentication was performed. |
exp |
string |
Expiration 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. |
iat |
string |
Issuance time of the token. |
sub |
string |
UID 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 the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-22 UTC.
[null,null,["Last updated 2022-07-22 UTC."],[],[],null,["# ParsedToken interface\n\nInterface representing a parsed ID token.\n\n**Signature:** \n\n export interface ParsedToken \n\nProperties\n----------\n\n| Property | Type | Description |\n|---------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------|\n| [auth_time](./auth.parsedtoken.md#parsedtokenauth_time) | string | Time at which authentication was performed. |\n| [exp](./auth.parsedtoken.md#parsedtokenexp) | string | Expiration time of the token. |\n| [firebase](./auth.parsedtoken.md#parsedtokenfirebase) | { 'sign_in_provider'?: string; 'sign_in_second_factor'?: string; 'identities'?: Record\\\u003cstring, string\\\u003e; } | Firebase specific claims, containing the provider(s) used to authenticate the user. |\n| [iat](./auth.parsedtoken.md#parsedtokeniat) | string | Issuance time of the token. |\n| [sub](./auth.parsedtoken.md#parsedtokensub) | string | UID of the user. |\n\nParsedToken.auth_time\n---------------------\n\nTime at which authentication was performed.\n\n**Signature:** \n\n 'auth_time'?: string;\n\nParsedToken.exp\n---------------\n\nExpiration time of the token.\n\n**Signature:** \n\n 'exp'?: string;\n\nParsedToken.firebase\n--------------------\n\nFirebase specific claims, containing the provider(s) used to authenticate the user.\n\n**Signature:** \n\n 'firebase'?: {\n 'sign_in_provider'?: string;\n 'sign_in_second_factor'?: string;\n 'identities'?: Record\u003cstring, string\u003e;\n };\n\nParsedToken.iat\n---------------\n\nIssuance time of the token.\n\n**Signature:** \n\n 'iat'?: string;\n\nParsedToken.sub\n---------------\n\nUID of the user.\n\n**Signature:** \n\n 'sub'?: string;"]]