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
OtpChange Input - New mailbox and its scoped change proof.
- Email
OtpChange Request Input - New mailbox and optional proof of the current mailbox.
- Email
OtpChange Requested - The change challenge was delivered or an existing target mailbox was concealed.
- Email
OtpChanged - The caller’s verified mailbox was changed while retaining session authority.
- Email
OtpCheck - A successful check retains the proof and its current attempt count.
- Email
OtpConfig - Configuration for email OTP verification, login, password reset and email change.
- Email
OtpDelivery - Delivery data. Debug intentionally omits the authentication secret.
- Email
OtpPassword Reset - A replacement credential was committed without issuing browser authority.
- Email
OtpPassword Reset Input - Scoped reset proof and replacement credential for the public server operation.
- Email
OtpPlugin - Email
OtpRead - Email
OtpReset Requested - Reset request aliases acknowledge delivered or concealed mailbox requests.
- Email
OtpSent - The sending operation acknowledges both delivery and concealed unknown mailboxes.
- Email
OtpSign InInput - Sign-in credentials with schema-defined fields retained for new identities.
- Email
OtpSign InResult - Authority published after consuming a sign-in proof.
- Email
OtpVerification - A verified mailbox with optional newly issued browser authority.
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.