[][src]Module rowdy::auth

Authentication module, including traits for identity provider and Responders for authentication.

Re-exports

pub use self::simple::SimpleAuthenticator;
pub use self::simple::SimpleAuthenticatorConfiguration;

Modules

simple

Simple authenticator module

util

Utility functions to aid in managing users

Structs

AuthenticationResult

Result from a successful authentication operation

Authorization

Authorization HTTP Request Header

LdapAuthenticator

LDAP based authenticator

NoOp

A "no-op" authenticator that lets everything through. DO NOT USE THIS IN PRODUCTION.

NoOpConfiguration

Configuration for the no-op authenticator. Nothing to configure.

Enums

Error

Authentication errors

Traits

Authenticator

Authenticator trait to be implemented by identity provider (idp) adapters to provide authentication. Each idp may support all the schemes supported, or just one.

AuthenticatorConfiguration

Configuration for the associated type Authenticator. crate::Configuration expects its authenticator field to implement this trait.

Functions

missing_authorization

Convenience function to respond with a missing authorization error

Type Definitions

Basic

Re-exported hyper::header::Basic.

BasicAuthenticator

A typedef for an Authenticator trait object that requires HTTP Basic authentication

Bearer

Re-exported hyper::header::Bearer.

BearerAuthenticator

A typedef for an Authenticator trait object that requires Bearer authentication.

Scheme

Re-exported hyper::header::Scheme

StringAuthenticator

A typedef for an Authenticator trait object that uses an arbitrary string