Stay organized with collections
Save and categorize content based on your preferences.
Properties
authTime
authTime: string
expirationTime
expirationTime: string
issuedAtTime
issuedAtTime: string
signInProvider
signInProvider: string | null
signInSecondFactor
signInSecondFactor: string | null
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-27 UTC.
[null,null,["Last updated 2022-07-27 UTC."],[],[],null,["- [firebase](/docs/reference/node/firebase).\n- [auth](/docs/reference/node/firebase.auth).\n- IdTokenResult \nInterface representing ID token result obtained from\n[firebase.User.getIdTokenResult](/docs/reference/node/firebase.User#getidtokenresult). It contains the ID token JWT string\nand other helper properties for getting different data associated with the\ntoken as well as all the decoded payload claims.\n\nNote that these claims are not to be trusted as they are parsed client side.\nOnly server side verification can guarantee the integrity of the token\nclaims.\n\nIndex\n\nProperties\n\n- [authTime](/docs/reference/node/firebase.auth.IDTokenResult#authtime)\n- [claims](/docs/reference/node/firebase.auth.IDTokenResult#claims)\n- [expirationTime](/docs/reference/node/firebase.auth.IDTokenResult#expirationtime)\n- [issuedAtTime](/docs/reference/node/firebase.auth.IDTokenResult#issuedattime)\n- [signInProvider](/docs/reference/node/firebase.auth.IDTokenResult#signinprovider)\n- [signInSecondFactor](/docs/reference/node/firebase.auth.IDTokenResult#signinsecondfactor)\n- [token](/docs/reference/node/firebase.auth.IDTokenResult#token)\n\nProperties\n\nauthTime \nauthTime: string \nThe authentication time formatted as a UTC string. This is the time the\nuser authenticated (signed in) and not the time the token was refreshed.\n\nclaims \nclaims: {} \nThe entire payload claims of the ID token including the standard reserved\nclaims as well as the custom claims. \n\nType declaration\n\n-\n\n \\[key: string\\]: any\n\nexpirationTime \nexpirationTime: string \nThe ID token expiration time formatted as a UTC string.\n\nissuedAtTime \nissuedAtTime: string \nThe ID token issued at time formatted as a UTC string.\n\nsignInProvider \nsignInProvider: string \\| null \nThe sign-in provider through which the ID token was obtained (anonymous,\ncustom, phone, password, etc). Note, this does not map to provider IDs.\n\nsignInSecondFactor \nsignInSecondFactor: string \\| null \nThe type of second factor associated with this session, provided the user\nwas multi-factor authenticated (eg. phone, etc).\n\ntoken \ntoken: string \nThe Firebase Auth ID token JWT string."]]
Interface representing ID token result obtained from firebase.User.getIdTokenResult. It contains the ID token JWT string and other helper properties for getting different data associated with the token as well as all the decoded payload claims.
Note that these claims are not to be trusted as they are parsed client side. Only server side verification can guarantee the integrity of the token claims.