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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-07-27 UTC."],[],[],null,["# IdTokenResult | JavaScript SDK\n\n- [firebase](/docs/reference/js/v8/firebase).\n- [auth](/docs/reference/js/v8/firebase.auth).\n- IdTokenResult\n============================================================================================================\n\nInterface representing ID token result obtained from\n[firebase.User.getIdTokenResult](/docs/reference/js/v8/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-----\n\n### Properties\n\n- [authTime](/docs/reference/js/v8/firebase.auth.IDTokenResult#authtime)\n- [claims](/docs/reference/js/v8/firebase.auth.IDTokenResult#claims)\n- [expirationTime](/docs/reference/js/v8/firebase.auth.IDTokenResult#expirationtime)\n- [issuedAtTime](/docs/reference/js/v8/firebase.auth.IDTokenResult#issuedattime)\n- [signInProvider](/docs/reference/js/v8/firebase.auth.IDTokenResult#signinprovider)\n- [signInSecondFactor](/docs/reference/js/v8/firebase.auth.IDTokenResult#signinsecondfactor)\n- [token](/docs/reference/js/v8/firebase.auth.IDTokenResult#token)\n\nProperties\n----------\n\n### authTime\n\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\n### claims\n\nclaims: {} \nThe entire payload claims of the ID token including the standard reserved\nclaims as well as the custom claims. \n\n#### Type declaration\n\n-\n\n ##### \\[key: string\\]: any\n\n### expirationTime\n\nexpirationTime: string \nThe ID token expiration time formatted as a UTC string.\n\n### issuedAtTime\n\nissuedAtTime: string \nThe ID token issued at time formatted as a UTC string.\n\n### signInProvider\n\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\n### signInSecondFactor\n\nsignInSecondFactor: string \\| null \nThe type of second factor associated with this session, provided the user\nwas multi-factor authenticated (eg. phone, etc).\n\n### token\n\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.