Struct oxide_auth::code_grant::authorizer::Storage
[−]
[src]
pub struct Storage<I: TokenGenerator> { /* fields omitted */ }
Methods
impl<I: TokenGenerator> Storage<I>[src]
Trait Implementations
impl<I: TokenGenerator> Authorizer for Storage<I>[src]
[src]
Create a code which allows retrieval of a bearer token at a later time.
fn extract<'a>(&mut self, grant: &'a str) -> Option<Grant<'a>>[src]
Retrieve the parameters associated with a token, invalidating the code in the process. In particular, a code should not be usable twice (there is no stateless implementation of an authorizer for this reason). Read more