PhoneMultiFactorGenerator

class PhoneMultiFactorGenerator


Helper class used to generate PhoneMultiFactorAssertions.

Summary

Constants

const String!
FACTOR_ID = "phone"

Public constructors

Public functions

java-static PhoneMultiFactorAssertion
getAssertion(phoneAuthCredential: PhoneAuthCredential)

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

Constants

FACTOR_ID

const val FACTOR_ID = "phone": String!

Public constructors

PhoneMultiFactorGenerator

PhoneMultiFactorGenerator()

Public functions

getAssertion

java-static fun getAssertion(phoneAuthCredential: PhoneAuthCredential): PhoneMultiFactorAssertion

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