Expand description
Passwordless email authentication and verification using single-use codes.
EmailOtpPlugin::create_verification_otp and
EmailOtpPlugin::get_verification_otp are server-only operations. Neither
operation registers an HTTP endpoint.
Structs§
- Email
OtpConfig - Configuration for email OTP verification, login, password reset and email change.
- Email
OtpDelivery - Delivery data. Debug intentionally omits the authentication secret.
- Email
OtpPlugin - Email
OtpRead
Enums§
- Email
OtpStorage - Email
OtpType - Code scope. Codes issued for one operation cannot authorize another.
- OtpResend
Strategy
Traits§
- Email
OtpCodec - Application-owned codec for custom hash/encryption storage.
retrievereturnsNonewhen the representation is intentionally irreversible. - Email
OtpGenerator - Optional application code generator. Returning
Noneselects the default cryptographically random numeric generator. - Send
Email Otp - Delivers a code to its intended mailbox with the real native callback context. Delivery awaits and propagates errors by default; configured background work owns its context and logs failures while retaining the issued verification.