@@ -9999,59 +9999,59 @@ declare namespace firebase.firestore {
9999
9999
| 'apple.com' ;
10000
10000
10001
10001
interface FirebaseIdToken {
10002
- // Always set to https://securetoken.google.com/PROJECT_ID
10002
+ /** Always set to https://securetoken.google.com/PROJECT_ID */
10003
10003
iss : string ;
10004
10004
10005
- // Always set to PROJECT_ID
10005
+ /** Always set to PROJECT_ID */
10006
10006
aud : string ;
10007
10007
10008
- // The user's unique id
10008
+ /** The user's unique id */
10009
10009
sub : string ;
10010
10010
10011
- // The token issue time, in seconds since epoch
10011
+ /** The token issue time, in seconds since epoch */
10012
10012
iat : number ;
10013
10013
10014
- // The token expiry time, normally 'iat' + 3600
10014
+ /** The token expiry time, normally 'iat' + 3600 */
10015
10015
exp : number ;
10016
10016
10017
- // The user's unique id, must be equal to 'sub'
10017
+ /** The user's unique id, must be equal to 'sub' */
10018
10018
user_id : string ;
10019
10019
10020
- // The time the user authenticated, normally 'iat'
10020
+ /** The time the user authenticated, normally 'iat' */
10021
10021
auth_time : number ;
10022
10022
10023
- // The sign in provider, only set when the provider is 'anonymous'
10023
+ /** The sign in provider, only set when the provider is 'anonymous' */
10024
10024
provider_id ?: 'anonymous' ;
10025
10025
10026
- // The user's primary email
10026
+ /** The user's primary email */
10027
10027
email ?: string ;
10028
10028
10029
- // The user's email verification status
10029
+ /** The user's email verification status */
10030
10030
email_verified ?: boolean ;
10031
10031
10032
- // The user's primary phone number
10032
+ /** The user's primary phone number */
10033
10033
phone_number ?: string ;
10034
10034
10035
- // The user's display name
10035
+ /** The user's display name */
10036
10036
name ?: string ;
10037
10037
10038
- // The user's profile photo URL
10038
+ /** The user's profile photo URL */
10039
10039
picture ?: string ;
10040
10040
10041
- // Information on all identities linked to this user
10041
+ /** Information on all identities linked to this user */
10042
10042
firebase : {
10043
- // The primary sign-in provider
10043
+ /** The primary sign-in provider */
10044
10044
sign_in_provider : FirebaseSignInProvider ;
10045
10045
10046
- // A map of providers to the user's list of unique identifiers from
10047
- // each provider
10046
+ /** A map of providers to the user's list of unique identifiers from each provider */
10048
10047
identities ?: { [ provider in FirebaseSignInProvider ] ?: string [ ] } ;
10049
10048
} ;
10050
10049
10051
- // Custom claims set by the developer
10050
+ /** Custom claims set by the developer */
10052
10051
[ claim : string ] : unknown ;
10053
10052
10054
- uid ?: never ; // Try to catch a common mistake of "uid" (should be "sub" instead).
10053
+ // NO LONGER SUPPORTED. Use "sub" instead. (Not a jsdoc comment to avoid generating docs.)
10054
+ uid ?: never ;
10055
10055
}
10056
10056
10057
10057
export type EmulatorMockTokenOptions = (
0 commit comments