Google is committed to advancing racial equity for Black communities. See how.

PhoneMultiFactorGenerator

public class PhoneMultiFactorGenerator extends Object

Helper class used to generate PhoneMultiFactorAssertions.

Constant Summary

String FACTOR_ID

Public Constructor Summary

Public Method Summary

static PhoneMultiFactorAssertion
getAssertion(PhoneAuthCredential phoneAuthCredential)
Transforms a PhoneAuthCredential into a PhoneMultiFactorAssertion which can be used to confirm ownership of a phone second factor.

Inherited Method Summary

Constants

public static final String FACTOR_ID

Constant Value: "phone"

Public Constructors

public PhoneMultiFactorGenerator ()

Public Methods

public static PhoneMultiFactorAssertion getAssertion (PhoneAuthCredential phoneAuthCredential)

Transforms a PhoneAuthCredential into a PhoneMultiFactorAssertion which can be used to confirm ownership of a phone second factor.