Skip to main content

Crate allowthem_server

Crate allowthem_server 

Source

Re-exports§

pub use all_routes::AllRoutesBuilder;
pub use all_routes::AllRoutesError;
pub use authorize_routes::AuthorizeOutcome;
pub use authorize_routes::AuthorizeParams;
pub use authorize_routes::ConsentContext;
pub use authorize_routes::ConsentNeededData;
pub use authorize_routes::ValidatedAuthorize;
pub use authorize_routes::authorize_post;
pub use authorize_routes::check_authorization;
pub use bearer::BearerAuthUser;
pub use branding::compute_accent_variants;
pub use branding::default_accents;
pub use branding::lookup_branding;
pub use browser_error::BrowserError;
pub use browser_templates::build_default_browser_env;
pub use browser_templates::render as render_template;
pub use consent_routes::consent_routes;
pub use csrf::CsrfToken;
pub use csrf::csrf_middleware;
pub use custom_fields::CustomFieldDescriptor;
pub use custom_fields::CustomSchemaConfig;
pub use custom_fields::FieldType;
pub use error::AuthExtractError;
pub use extractors::AuthUser;
pub use extractors::BrowserAdminUser;
pub use extractors::BrowserAuthUser;
pub use extractors::OptionalAuthUser;
pub use login_routes::login_routes;
pub use logout_routes::logout_routes;
pub use mfa_page_routes::mfa_challenge_routes;
pub use mfa_page_routes::mfa_setup_routes;
pub use mfa_routes::mfa_routes;
pub use middleware::require_auth;
pub use middleware::require_permission;
pub use middleware::require_role;
pub use oauth_bearer::OAuthBearerError;
pub use oauth_bearer::OAuthBearerToken;
pub use oauth_routes::oauth_routes;
pub use password_reset_page_routes::password_reset_page_routes;
pub use password_reset_routes::password_reset_routes;
pub use rate_limit::AuthRateLimiter;
pub use rate_limit::extract_client_ip;
pub use register_routes::register_routes;
pub use settings_routes::settings_routes;
pub use token_route::token_route;
pub use userinfo_route::userinfo_route;
pub use well_known_routes::well_known_routes;

Modules§

all_routes
authorize_routes
bearer
branding
browser_error
browser_templates
consent_routes
csrf
custom_fields
error
extractors
login_routes
logout_routes
mfa_page_routes
mfa_routes
middleware
oauth_bearer
oauth_routes
password_reset_page_routes
password_reset_routes
rate_limit
register_routes
settings_routes
token_route
userinfo_route
well_known_routes
.well-known HTTP routes: OIDC discovery document and JWKS endpoint.

Structs§

Quota
A rate-limiting quota.