Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
Interface representing a parsed ID token.
Signature:
export interface ParsedToken
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. |
Time at which authentication was performed.
Signature:
'auth_time'?: string;
Expiration time of the token.
Signature:
'exp'?: string;
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>;
};
Issuance time of the token.
Signature:
'iat'?: string;
UID of the user.
Signature:
'sub'?: string;