Hierarchy

  • OTPConfig

Methods

  • Validate makes OTPConfig validatable by implementing [validation.Validatable] interface.

    Returns void

Properties

duration: number

Duration specifies how long the OTP to be valid (in seconds)

emailTemplate: EmailTemplate

EmailTemplate is the default OTP email template that will be send to the auth record.

In addition to the system placeholders you can also make use of [core.EmailPlaceholderOTPId] and [core.EmailPlaceholderOTP].

enabled: boolean
length: number

Length specifies the auto generated password length.

Generated using TypeDoc