Struct mould_auth::AuthService
[−]
[src]
pub struct AuthService<C, R, E> where C: CredentialChecker<R, E>, R: Role, E: Error { /* fields omitted */ }
A handler which use CredentialChecker
to set role to session.
The following actions available:
* do-auth
- try to authorize by credential