public class TotpMultiFactorAssertion extends MultiFactorAssertion

Asserts ownership of a TOTP second factor.

An instance of this object can be obtained by calling TotpMultiFactorGenerator.getAssertionForEnrollment(TotpSecret, String) or TotpMultiFactorGenerator.getAssertionForSignIn(String, String).

Public Method Summary

String
getFactorId()
Returns the factor identifier that this assertion is for.

Inherited Method Summary

Public Methods

public String getFactorId ()

Returns the factor identifier that this assertion is for. This is equivalent to TotpMultiFactorGenerator.FACTOR_ID.