Struct mould_auth::cred::AuthService
[−]
[src]
pub struct AuthService<R> { /* fields omitted */ }
A handler which use CredentialManager
to set role to session.
The following actions available:
* do-auth
- try to authorize by credential
Methods
impl<R> AuthService<R>
[src]
fn new() -> Self
Trait Implementations
impl<R> Sync for AuthService<R>
[src]
impl<R> Send for AuthService<R>
[src]
impl<T, R> Service<T> for AuthService<R> where
T: HasPermission<AuthPermission> + Manager<R>,
R: Role,
[src]
T: HasPermission<AuthPermission> + Manager<R>,
R: Role,