Struct oxide_auth::code_grant::frontend::AuthorizationFlow
[−]
[src]
pub struct AuthorizationFlow;
Methods
impl AuthorizationFlow[src]
fn prepare<W: WebRequest>(
incoming: &mut W
) -> Result<PreparedAuthorization<W>, OAuthError>[src]
incoming: &mut W
) -> Result<PreparedAuthorization<W>, OAuthError>
Idempotent data processing, checks formats.
fn handle<'c, Req, Auth>(
granter: CodeRef<'c>,
prepared: PreparedAuthorization<'c, Req>,
page_handler: &Auth
) -> Result<Req::Response, OAuthError> where
Req: WebRequest,
Auth: OwnerAuthorizer<Request = Req>, [src]
granter: CodeRef<'c>,
prepared: PreparedAuthorization<'c, Req>,
page_handler: &Auth
) -> Result<Req::Response, OAuthError> where
Req: WebRequest,
Auth: OwnerAuthorizer<Request = Req>,