TotpMultiFactorAssertion
A verified TOTP factor, mirroring com.google.firebase.auth.TotpMultiFactorAssertion; usually created with TotpMultiFactorGenerator.getAssertionForEnrollment or TotpMultiFactorGenerator.getAssertionForSignIn, which call this constructor with the secret or the enrollmentId respectively.
The Apple and JS SDKs only create TOTP assertions through their TOTP generators, so on those platforms the SDK's assertion is made by its generator when this one is first used: for enrolling secret when it is set, otherwise for signing in with enrollmentId; with neither, using the assertion fails with IllegalArgumentException.
Parameters
The one-time password the authenticator app shows; it must not be empty.
The secret being enrolled, from TotpMultiFactorGenerator.generateSecret.
The MultiFactorInfo.uid of the enrolled factor to sign in with.
A verified TOTP factor, mirroring com.google.firebase.auth.TotpMultiFactorAssertion; usually created with TotpMultiFactorGenerator.getAssertionForEnrollment or TotpMultiFactorGenerator.getAssertionForSignIn, which call this constructor with the secret or the enrollmentId respectively.
The Apple and JS SDKs only create TOTP assertions through their TOTP generators, so on those platforms the SDK's assertion is made by its generator when this one is first used: for enrolling secret when it is set, otherwise for signing in with enrollmentId; with neither, using the assertion fails with IllegalArgumentException.
Parameters
The one-time password the authenticator app shows; it must not be empty.
The secret being enrolled, from TotpMultiFactorGenerator.generateSecret.
The MultiFactorInfo.uid of the enrolled factor to sign in with.
The platform SDKs only create TOTP assertions through their generators, so the SDK's assertion is made when this one is first used: for enrolling secret when it is set, otherwise for signing in with enrollmentId.
Properties
The type of factor, e.g. PhoneMultiFactorGenerator.FACTOR_ID.
The type of factor, e.g. PhoneMultiFactorGenerator.FACTOR_ID.
The type of factor, e.g. PhoneMultiFactorGenerator.FACTOR_ID.