Require2faMetadata: { allowedMethods?: TwoFactorMethods }

Metadata for the @Auth.require2fa decorator.

Type declaration

  • OptionalallowedMethods?: TwoFactorMethods

    The allowed methods that can be used to provide an additional factor.