Crate threatflux_auth_sdk

Crate threatflux_auth_sdk 

Source

Re-exports§

pub use hooks::LoginContext;
pub use hooks::LoginHook;
pub use hooks::LoginHooks;
pub use hooks::LoginMethod;
pub use hooks::LogoutContext;
pub use hooks::LogoutHook;
pub use hooks::LogoutHooks;
pub use hooks::OAuthCallbackHooks;
pub use hooks::OAuthLoginToken;
pub use hooks::OAuthPostLoginContext;
pub use hooks::OAuthPostLoginHook;
pub use hooks::OAuthPostLoginResult;
pub use openapi::AuthApiDoc;
pub use handlers::mfa_routes;
pub use handlers::router;
pub use handlers::session_routes;
pub use handlers::webauthn_routes;
pub use state::AuthState;
pub use store::AuthStore;
pub use store::MemoryStore;
pub use store::PostgresStore;
pub use store::SearchAuthStore;
pub use services::DeviceService;
pub use services::EmailSender;
pub use services::MfaService;
pub use services::NoOpEmailSender;
pub use services::TokenService;
pub use services::WebAuthnService;
pub use models::*;
pub use validation::*;

Modules§

error
extractor
handlers
hooks
models
oauth
oauth_provider
openapi
service
services
Authentication services for MFA, tokens, device tracking, and WebAuthn.
state
store
validation

Structs§

Json
JSON Extractor / Response.
PostgresStoreConfig
SearchConfig
StatusCode
An HTTP status code (status-code in RFC 9110 et al.).

Enums§

AuthError
JsonValue
Represents any valid JSON value.