Trait oxide_auth::code_grant::authorization::Extension[][src]

pub trait Extension {
    fn extend(&mut self, request: &dyn Request) -> Result<Extensions, ()>;
}
Expand description

A system of addons provided additional data.

An endpoint not having any extension may use &mut () as the result of system.

Required methods

Inspect the request to produce extension data.

Implementations on Foreign Types

Implementors