FirebaseAdmin.Auth.FirebaseToken

Represents a valid, decoded Firebase ID token.

Summary

It can be used to get the Uid and other claims available in the token.

Properties

Audience
string
The audience claim that identifies the audience that the JWT is intended for.
Claims
IReadOnlyDictionary< string, object >
A read-only dictionary of all other claims present in the JWT.
ExpirationTimeSeconds
long
The expiration time claim that identifies the expiration time (in seconds) on or after which the token MUST NOT be accepted for processing.
IssuedAtTimeSeconds
long
The issued at claim that identifies the time (in seconds) at which the JWT was issued.
Issuer
string
The issuer claim that identifies the principal that issued the JWT.
Subject
string
The subject claim identifying the principal that is the subject of the JWT.
Uid
string
User ID of the user to which this ID token belongs.

Properties

Audience

string Audience

The audience claim that identifies the audience that the JWT is intended for.

Claims

IReadOnlyDictionary< string, object > Claims

A read-only dictionary of all other claims present in the JWT.

This can be used to access custom claims of the token.

ExpirationTimeSeconds

long ExpirationTimeSeconds

The expiration time claim that identifies the expiration time (in seconds) on or after which the token MUST NOT be accepted for processing.

IssuedAtTimeSeconds

long IssuedAtTimeSeconds

The issued at claim that identifies the time (in seconds) at which the JWT was issued.

Issuer

string Issuer

The issuer claim that identifies the principal that issued the JWT.

Subject

string Subject

The subject claim identifying the principal that is the subject of the JWT.

Uid

string Uid

User ID of the user to which this ID token belongs.

This is same as Subject.

Send feedback about...

Need help? Visit our support page.