PhoneNumberVerificationToken interface

Interface representing a PhoneNumberVerification token.

Signature:

export interface PhoneNumberVerificationToken 

Properties

Property Type Description
aud string[] The audience for which this token is intended. This value is a JSON array of two strings, the first is the project number of your Firebase project, and the second is the project ID of the same project.
exp number The PhoneNumber Verification token's expiration time, in seconds since the Unix epoch. That is, the time at which this PhoneNumber Verification token expires and should no longer be considered valid.
iat number The PhoneNumber Verification token's issued-at time, in seconds since the Unix epoch. That is, the time at which this PhoneNumber Verification token was issued and should start to be considered valid.
iss string The issuer identifier for the issuer of the response. This value is a URL with the format https://fpnv.googleapis.com/projects/<PROJECT_NUMBER>, where <PROJECT_NUMBER> is the project number of your Firebase project, and the same project number specified in the PhoneNumberVerificationToken.aud property.
jti string A case-sensitive string that uniquely identifies a specific JWT instance
nonce string A unique, single-use "number used once" value.
phoneNumber string The corresponding user's phone number. This value is not actually one of the JWT token claims. It is added as a convenience, and is set as the value of the PhoneNumberVerificationToken.sub property.
sub string The phone number corresponding to this token. As a convenience, this value is copied over to the phoneNumber property.

PhoneNumberVerificationToken.aud

The audience for which this token is intended. This value is a JSON array of two strings, the first is the project number of your Firebase project, and the second is the project ID of the same project.

Signature:

aud: string[];

PhoneNumberVerificationToken.exp

The PhoneNumber Verification token's expiration time, in seconds since the Unix epoch. That is, the time at which this PhoneNumber Verification token expires and should no longer be considered valid.

Signature:

exp: number;

PhoneNumberVerificationToken.iat

The PhoneNumber Verification token's issued-at time, in seconds since the Unix epoch. That is, the time at which this PhoneNumber Verification token was issued and should start to be considered valid.

Signature:

iat: number;

PhoneNumberVerificationToken.iss

The issuer identifier for the issuer of the response. This value is a URL with the format https://fpnv.googleapis.com/projects/<PROJECT_NUMBER>, where <PROJECT_NUMBER> is the project number of your Firebase project, and the same project number specified in the PhoneNumberVerificationToken.aud property.

Signature:

iss: string;

PhoneNumberVerificationToken.jti

A case-sensitive string that uniquely identifies a specific JWT instance

Signature:

jti: string;

PhoneNumberVerificationToken.nonce

A unique, single-use "number used once" value.

Signature:

nonce: string;

PhoneNumberVerificationToken.phoneNumber

The corresponding user's phone number. This value is not actually one of the JWT token claims. It is added as a convenience, and is set as the value of the PhoneNumberVerificationToken.sub property.

Signature:

phoneNumber: string;

PhoneNumberVerificationToken.sub

The phone number corresponding to this token. As a convenience, this value is copied over to the phoneNumber property.

Signature:

sub: string;