Index
AccountManagementService(interface)AuthenticationV2Alpha1Service(interface)AutoRetrievalInfo(message)FinalizeMfaEnrollmentRequest(message)FinalizeMfaEnrollmentResponse(message)FinalizeMfaPhoneRequestInfo(message)FinalizeMfaPhoneResponseInfo(message)FinalizeMfaSignInRequest(message)FinalizeMfaSignInResponse(message)MfaProvider(enum)StartMfaEnrollmentRequest(message)StartMfaEnrollmentResponse(message)StartMfaPhoneRequestInfo(message)StartMfaPhoneResponseInfo(message)StartMfaSignInRequest(message)StartMfaSignInResponse(message)WithdrawMfaRequest(message)WithdrawMfaResponse(message)
AccountManagementService
Account management for Identity Toolkit
| FinalizeMfaEnrollment |
|---|
|
Finishes enrolling a phone number as a MFA factor for the user.
|
| StartMfaEnrollment |
|---|
|
Sends MFA enrollment verification SMS for a user.
|
| WithdrawMfa |
|---|
|
Revokes one MFA for user
|
AuthenticationV2Alpha1Service
Authentication for Identity Toolkit
| FinalizeMfaSignIn |
|---|
|
Verifies the MultiFactorAuth challenge and performs MultiFactorAuth sign-in |
| StartMfaSignIn |
|---|
|
Sends the MultiFactorAuth challenge |
AutoRetrievalInfo
The information required to auto-retrieve an SMS.
| Fields | |
|---|---|
app_signature_hash |
The Android app's signature hash for Google Play Service's SMS Retriever API. |
FinalizeMfaEnrollmentRequest
Finishes enrolling a phone number as a MFA factor for the user.
| Fields | |
|---|---|
id_token |
Required. Firebase first factor ID token to indicate authenticated user. |
mfa_provider |
Required. Type of 2nd factor. |
display_name |
Display name which is entered by users to distinguish between differet multi-factors with same type or different type. |
Union field verification_info. Required. MultiFactor enrollment information to be verified. verification_info can be only one of the following: |
|
phone_verification_info |
Verification info specific to phone auth. |
FinalizeMfaEnrollmentResponse
FinalizeMfaEnrollment response.
| Fields | |
|---|---|
id_token |
Firebase ID token for MFA user. |
refresh_token |
Refresh token for MFA user to get MFA id token. |
Union field auxiliary_auth_info. MultiFactor verified enrollment information. auxiliary_auth_info can be only one of the following: |
|
phone_auth_info |
Auxiliary auth info specific to phone auth. |
FinalizeMfaPhoneRequestInfo
Mfa request info specific to phone auth.
| Fields | |
|---|---|
session_info |
An opaque string that represents the enrollment session. |
code |
User-entered verification code. |
android_verification_proof |
Android only. Uses for "instant" phone number verification though GmsCore. |
phone_number |
Required if Android verification proof is presented. |
FinalizeMfaPhoneResponseInfo
Mfa response info specific to phone auth.
| Fields | |
|---|---|
android_verification_proof |
Android only. Long-lived replacement for valid code tied to android device. |
android_verification_proof_expire_time |
Android only. Expiration time of verification proof in seconds. |
phone_number |
For Android verification proof. |
FinalizeMfaSignInRequest
Finalizes multi-factor sign-in by verifying multi-factor auth challenge.
| Fields | |
|---|---|
mfa_provider |
Required. Type of 2nd factor. |
mfa_pending_credential |
Required. Pending credential from MFA first factor sign-in. |
Union field verification_info. Required for one of the verification info. MultiFactor enrollment information to be verified. verification_info can be only one of the following: |
|
phone_verification_info |
Verification info specific to phone auth. |
FinalizeMfaSignInResponse
FinalizeMfaSignIn response.
| Fields | |
|---|---|
id_token |
Firebase ID token for MFA user. |
refresh_token |
Refresh token for MFA user to get MFA id token. |
Union field auxiliary_auth_info. MultiFactor verified sign-in information. auxiliary_auth_info can be only one of the following: |
|
phone_auth_info |
Auxiliary auth info specific to phone auth. |
MfaProvider
The type of auth to use for mfa.
| Enums | |
|---|---|
MFA_PROVIDER_UNSPECIFIED |
Default value. Do not use. |
PHONE_SMS |
Phone authentication. |
StartMfaEnrollmentRequest
Sends MFA enrollment verification SMS for a user.
| Fields | |
|---|---|
id_token |
Required. Firebase first factor ID token to indicate authenticated user. |
mfa_provider |
Required. Type of 2nd factor. |
Union field enrollment_info. Required. MultiFactor information by type of 2nd factor. enrollment_info can be only one of the following: |
|
phone_enrollment_info |
Sign in info specific to phone auth. |
StartMfaEnrollmentResponse
StartMfaEnrollment response.
| Fields | |
|---|---|
Union field enrollment_response. MultiFactor start enrollment response by 2nd factor type. enrollment_response can be only one of the following: |
|
phone_session_info |
Enrollment response info specific to phone auth. |
StartMfaPhoneRequestInfo
Mfa request info specific to phone auth.
| Fields | |
|---|---|
phone_number |
Required for enrollment. Phone number to be enrolled as MFA. |
ios_receipt |
iOS only. Receipt of successful app token validation with APNS. |
ios_secret |
iOS only. Secret delivered to iOS app via APNS. |
recaptcha_token |
Web only. Recaptcha solution. |
auto_retrieval_info |
Android only. Used by Google Play Services to identify the app for auto-retrieval. |
safety_net_token |
Android only. Used to assert application identity in place of a recaptcha token. A SafetyNet Token can be generated via the SafetyNet Android Attestation API, with the Base64 encoding of the |
StartMfaPhoneResponseInfo
Mfa response info specific to phone auth.
| Fields | |
|---|---|
session_info |
An opaque string that represents the enrollment session. |
StartMfaSignInRequest
Starts multi-factor sign-in by sending the multi-factor auth challenge.
| Fields | |
|---|---|
mfa_provider |
Required. Type of multi-factor. |
mfa_pending_credential |
Required. Pending credential from MFA first factor sign-in. |
mfa_enrollment_id |
Required. MFA enrollment id from first factor sign-in. |
Union field sign_in_info. Required for one of the phone sign-in info. MultiFactor information by type of 2nd factor. sign_in_info can be only one of the following: |
|
phone_sign_in_info |
Sign in info specific to phone auth. |
StartMfaSignInResponse
StartMfaSignIn response.
| Fields | |
|---|---|
Union field response_info. MultiFactor start sign-in response by 2nd factor type. response_info can be only one of the following: |
|
phone_response_info |
Response info specific to phone auth. |
WithdrawMfaRequest
Withdraws MultiFactorAuth.
| Fields | |
|---|---|
id_token |
Required. Firebase MFA ID token to indicate authenticated user. |
mfa_enrollment_id |
Required. MFA enrollment id from verified MFA list from GetAccountInfo. |
WithdrawMfaResponse
Withdraws MultiFactorAuth response.
| Fields | |
|---|---|
id_token |
Firebase ID token for first sign-in factor. |
refresh_token |
Firebase refresh token for first sign-in factor. |