Skip to main content

Module otp

Module otp 

Source
Expand description

OTP + SaaS checkout helpers — mirrors src/routes/otp.rs + src/routes/saas.rs

Structs§

AuthenticatedUser
LoginResponse
OtpClient
OtpIdentityResponse
OtpSendResponse
OtpSessionBinding
Explicit session binding. The API key separately pins the account/application.
OtpSessionCancellation
Acknowledgement only; cancellation never returns credentials or session tokens.
OtpSessionReceipt
Nonce-bound OTP transport result. Wire fields remain flat via serde flatten. Presence is not verification: validate issuer/client/nonce/auth_time/amr/at_hash. Existing LoginResponse and OtpVerificationResponse literals remain unchanged.
ResourceProposal
Inert customer proposal; raw directory UUID or typed Node ID is passed unchanged.
ResourceRegistration
SaasClient
ServerOtpClient
Server-only OTP client authenticated by an application-scoped API key.

Enums§

OtpVerificationResponse
ResourceStatus