Skip to main content

http_auth

Function http_auth 

Source
async fn http_auth(
    req: Request,
    next: Next,
    tls_enabled: bool,
    authenticator_kind: AuthenticatorKind,
    frontegg: Option<Authenticator>,
    oidc_rx: Shared<Receiver<GenericOidcAuthenticator>>,
    adapter_client_rx: Shared<Receiver<Client>>,
    allowed_roles: AllowedRoles,
) -> Result<impl IntoResponse, AuthError>