Interface: SendCodeOptions
Branding/messaging passed to AuthGateConfig.sendCode.
Properties
Section titled “Properties”brandName
Section titled “brandName”brandName:
string
codeTtlSeconds
Section titled “codeTtlSeconds”codeTtlSeconds:
number
Lifetime of the code being sent, in seconds - the RESOLVED AuthGateConfig.codeTtlSeconds, so the email can state the real expiry (“This code expires in 10 minutes”) instead of a vague “shortly” that drifts from the configured TTL.
message
Section titled “message”message:
string
subject
Section titled “subject”subject:
string