Struct oxide_auth::primitives::authorizer::AuthMap [−][src]
pub struct AuthMap<I: TagGrant = Box<dyn TagGrant + Send + Sync + 'static>> { /* fields omitted */ }Expand description
An in-memory hash map.
This authorizer saves a mapping of generated strings to their associated grants. The generator is itself trait based and can be chosen during construction. It is assumed to not be possible for two different grants to generate the same token in the issuer.
Implementations
Create an authorizer generating tokens with the tagger.
The token map is initially empty and is filled by methods provided in its Authorizer
implementation.
Trait Implementations
Create a code which allows retrieval of a bearer token at a later time.