PhoneMultiFactorGenerator

public class PhoneMultiFactorGenerator


Helper class used to generate PhoneMultiFactorAssertions.

Summary

Constants

static final String
FACTOR_ID = "phone"

Public constructors

Public methods

static @NonNull PhoneMultiFactorAssertion

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

Constants

FACTOR_ID

public static final String FACTOR_ID = "phone"

Public constructors

PhoneMultiFactorGenerator

public PhoneMultiFactorGenerator()

Public methods

getAssertion

public static @NonNull PhoneMultiFactorAssertion getAssertion(@NonNull PhoneAuthCredential phoneAuthCredential)

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