Struct oxide_auth::frontends::simple::extensions::AddonList [−][src]
pub struct AddonList { /* fields omitted */ }Expand description
A simple list of loosly related authorization and access addons.
The owning representation of access extensions can be switched out to Box<_>, Rc<_> or
other types.
Implementations
Add an addon that only applies to authorization.
pub fn push_access_token<A>(&mut self, addon: A) where
A: AccessTokenAddon + Send + Sync + 'static,
pub fn push_access_token<A>(&mut self, addon: A) where
A: AccessTokenAddon + Send + Sync + 'static,
Add an addon that only applies to access_token.
pub fn push_code<A>(&mut self, addon: A) where
A: AuthorizationAddon + AccessTokenAddon + Send + Sync + 'static,
pub fn push_code<A>(&mut self, addon: A) where
A: AuthorizationAddon + AccessTokenAddon + Send + Sync + 'static,
Add an addon that applies to the whole code grant flow.
The addon gets added both the authorization and access token addons.
Trait Implementations
Inspect the request and extension data to produce extension data. Read more
Inspect the request to produce extension data.
The handler for authorization code extensions.
The handler for access token extensions.