Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions etc/firebase-admin.auth.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,7 @@ export interface DecodedIdToken {
};
iat: number;
iss: string;
name?: string;
phone_number?: string;
picture?: string;
sub: string;
Expand Down
5 changes: 5 additions & 0 deletions src/auth/token-verifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ export interface DecodedIdToken {
*/
iss: string;

/**
* The display name of the user to whom the ID token belongs, if available.
*/
name?: string;

/**
* The phone number of the user to whom the ID token belongs, if available.
*/
Expand Down