[−][src]Trait rocket_simple_authorization::SimpleAuthorization
The trait for an authorizer.
Required methods
fn authorizing(
request: &'a Request<'r>,
authorization: Option<&'a str>
) -> Option<Self>
request: &'a Request<'r>,
authorization: Option<&'a str>
) -> Option<Self>
Check whether the value in the Authorization header is valid or not. If it is valid, create a new instance of Self.