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