Struct oxide_auth::code_grant::frontend::AuthorizationFlow
[−]
[src]
pub struct AuthorizationFlow<'a> { /* fields omitted */ }
All relevant methods for handling authorization code requests.
Methods
impl<'a> AuthorizationFlow<'a>
[src]
fn new(registrar: &'a Registrar, authorizer: &'a mut Authorizer) -> Self
[src]
Initiate an authorization code token flow.
fn with_extension(self, extension: &'a CodeExtension) -> Self
[src]
Add an extension to access token handling.
fn handle<Req>(
self,
request: &mut Req,
page_handler: &OwnerAuthorizer<Request = Req>
) -> Result<Req::Response, Req::Error> where
Req: WebRequest,
[src]
self,
request: &mut Req,
page_handler: &OwnerAuthorizer<Request = Req>
) -> Result<Req::Response, Req::Error> where
Req: WebRequest,
React to an authorization code request, handling owner approval with a specified handler.