firebase_admin.phone_number_verification module
Stay organized with collections
Save and categorize content based on your preferences.
Firebase Phone Number Verification module.
This module contains functions for verifying JWTs related to the Firebase Phone Number Verification service.
Exceptions
ExpiredTokenErrorexception firebase_admin.phone_number_verification.ExpiredTokenError(message, cause=None, http_response=None) |
|---|
|
Bases: Raised when a Firebase Phone Number Verification token is expired. |
InvalidTokenErrorexception firebase_admin.phone_number_verification.InvalidTokenError(message, cause=None, http_response=None) |
|---|
|
Bases: Raised when a Firebase Phone Number Verification token is invalid. |
Classes
PhoneNumberVerificationTokenclass firebase_admin.phone_number_verification.PhoneNumberVerificationToken(claims) | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Bases: Represents a verified Firebase Phone Number Verification token. This class behaves like a dictionary, allowing access to the decoded claims. It also provides convenience properties for common claims.
|
Functions
verify_tokenfirebase_admin.phone_number_verification.verify_token(token: str, app: App | None = None) PhoneNumberVerificationToken |
|---|
|
Verifies a Firebase Phone Number Verification token.
|
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 2026-04-09 UTC.