Skip to main content

Crate allowthem_core

Crate allowthem_core 

Source

Re-exports§

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 db::Db;
pub use email::EmailMessage;
pub use email::EmailSender;
pub use email::LogEmailSender;
pub use error::AuthError;
pub use handle::AllowThem;
pub use handle::AllowThemBuilder;
pub use handle::BuildError;
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 types::*;

Modules§

api_tokens
audit
auth_client
db
email
error
handle
jwt
oauth
oauth_github
oauth_google
password
password_reset
permissions
roles
sessions
totp
TOTP core: secret management, code validation, and recovery codes.
types
users