Skip to main content

Module phone_number

Module phone_number 

Source
Expand description

Phone ownership verification, password login and scoped password reset.

PhoneNumberPlugin::consume_otp is a server-only verification operation. It does not create users or sessions and never registers a public route.

Structs§

PhoneNumberConfig
PhoneNumberPlugin
PhoneNumberVerification
PhoneOtpConsumption
Successful proof consumption does not create an identity or session.
PhoneOtpDelivery
PhoneOtpSent
PhonePasswordResetRequested
A reset challenge was issued without publishing browser authority.
PhonePasswordResetResult
The reset proof was consumed and the replacement credential was committed.
PhoneVerificationInput
Proof and optional authority policy for phone verification. Creation fields are retained.
PhoneVerificationResult
Verified ownership, with either existing, newly issued, or disabled session authority.
ResetPhonePasswordRequest
Proof and replacement credential for the public phone password-reset operation.
SignInPhoneNumberRequest
Credential input for the public phone sign-in operation.

Enums§

PhoneSignInResponse
A credential session or the installed second-factor challenge.

Traits§

PhoneNumberValidator
PhoneOtpVerifier
A provider that verifies its own phone challenge. Its verification result replaces local verification, including expiry, replay and attempt policy.
PhoneSignupIdentity
PhoneVerificationHook
SendPhoneOtp