-
Notifications
You must be signed in to change notification settings - Fork 407
fix(auth): Defines missing DecodedIdToken types.
#852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -420,6 +420,17 @@ export namespace admin.auth { | |
| */ | ||
| auth_time: number; | ||
|
|
||
| /** | ||
| * The email corresponding to the user who the ID token belonged to, if available. | ||
| */ | ||
| email?: string; | ||
|
|
||
| /** | ||
| * Whether the email corresponding to the user who the ID token belonged to is | ||
|
||
| * verified or not, provided the user has an email. | ||
| */ | ||
| email_verified?: boolean; | ||
|
|
||
| /** | ||
| * The ID token's expiration time, in seconds since the Unix epoch. That is, the | ||
| * time at which this ID token expires and should no longer be considered valid. | ||
|
|
@@ -494,6 +505,18 @@ export namespace admin.auth { | |
| */ | ||
| iss: string; | ||
|
|
||
| /** | ||
| * The phone number corresponding to the user who the ID token belonged to, | ||
|
||
| * if available. | ||
| */ | ||
| phone_number?: string; | ||
|
|
||
| /** | ||
| * The photo URL corresponding to the user who the ID token belonged to, | ||
|
||
| * if available. | ||
| */ | ||
| picture?: string; | ||
|
|
||
| /** | ||
| * The `uid` corresponding to the user who the ID token belonged to. | ||
| * | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The email of the user to whom the ID token belonged, if available.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done