PhoneNumberVerification class

PhoneNumberVerification service bound to the provided app.

Signature:

export declare class PhoneNumberVerification 

Properties

Property Modifiers Type Description
app App Returns the app associated with this PhoneNumberVerification instance.

Methods

Method Modifiers Description
verifyToken(jwt) Verifies a Firebase Phone Number Verification token.

PhoneNumberVerification.app

Returns the app associated with this PhoneNumberVerification instance.

Signature:

get app(): App;

PhoneNumberVerification.verifyToken()

Verifies a Firebase Phone Number Verification token.

Signature:

verifyToken(jwt: string): Promise<PhoneNumberVerificationToken>;

Parameters

Parameter Type Description
jwt string A string containing the Firebase Phone Number Verification JWT.

Returns:

Promise<PhoneNumberVerificationToken>

A promise that resolves with the decoded token.