enum

KemalIdentity::MFA::FactorKind

Inherits Enum < Comparable < Value < Object

What kind of second factor a row holds.

One member today. It exists so that adding WebAuthn is a new member and a new branch rather than a new table and a second lookup on the verification path — the same reason AssuranceLevel has gaps in it. Persisted as a SMALLINT: append only, never renumber.

Constants

TOTP = 1_i16

Instance methods

totp?

Returns true if this enum value equals TOTP

Source