Skip to main content

Crate allowthem_core

Crate allowthem_core 

Source

Re-exports§

pub use access_tokens::AccessTokenClaims;
pub use access_tokens::has_scope;
pub use audit::AuditEntry;
pub use audit::AuditEvent;
pub use auth_client::AuthClient;
pub use auth_client::AuthFuture;
pub use auth_client::EmbeddedAuthClient;
pub use csrf::derive_csrf_token;
pub use csrf::verify_csrf_token;
pub use db::Db;
pub use email::EmailMessage;
pub use email::EmailSender;
pub use email::LogEmailSender;
pub use error::AccessTokenError;
pub use error::AuthError;
pub use events::AuthEvent;
pub use events::AuthEventReceiver;
pub use events::AuthEventSender;
pub use events::EventContext;
pub use events::RegisteredEvent;
pub use events::RegistrationSource;
pub use handle::AllowThem;
pub use handle::AllowThemBuilder;
pub use handle::BuildError;
pub use handle::LoginOutcome;
pub use invitations::Invitation;
pub use jwt::Claims;
pub use jwt::JwtConfig;
pub use jwt::generate_token as generate_jwt;
pub use jwt::validate_token;
pub use oauth::OAuthAccountInfo;
pub use oauth::OAuthProvider;
pub use oauth::OAuthStateInfo;
pub use oauth::OAuthUserInfo;
pub use oauth_github::GitHubProvider;
pub use oauth_google::GoogleProvider;
pub use sessions::SessionConfig;
pub use sessions::generate_token;
pub use sessions::hash_token;
pub use signing_keys::JwkEntry;
pub use signing_keys::JwkSet;
pub use signing_keys::OidcDiscovery;
pub use signing_keys::SigningKey;
pub use signing_keys::build_discovery;
pub use signing_keys::build_jwks;
pub use signing_keys::decrypt_private_key;
pub use token_issuance::RefreshToken;
pub use token_issuance::TokenError;
pub use token_issuance::TokenResponse;
pub use token_issuance::compute_at_hash;
pub use token_issuance::exchange_authorization_code;
pub use token_issuance::exchange_refresh_token;
pub use token_issuance::generate_refresh_token;
pub use token_issuance::hash_refresh_token;
pub use token_issuance::mint_access_token;
pub use token_issuance::mint_id_token;
pub use token_issuance::verify_pkce_s256;
pub use types::*;

Modules§

access_tokens
api_tokens
applications
audit
auth_client
authorization
csrf
db
email
email_verification
error
events
Lifecycle events published by allowthem’s route handlers.
handle
invitations
jwt
oauth
oauth_github
oauth_google
password
password_reset
permissions
roles
sessions
signing_keys
RS256 signing key management — key generation, encrypted storage, JWKS, and OIDC discovery.
token_cleanup
token_issuance
totp
TOTP core: secret management, code validation, and recovery codes.
types
users