static/jsvm/interfaces/core.OTPConfig.html
durationemailTemplateenabledlength
DurationTime returns the current Duration as [time.Duration].
Validate makes OTPConfig validatable by implementing [validation.Validatable] interface.
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.
OSLightDark
Generated using TypeDoc