Skip to content

Interface: SendCodeOptions

Branding/messaging passed to AuthGateConfig.sendCode.

brandName: string


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: string


subject: string