Struct oxide_auth::code_grant::backend::AuthorizationRequest
[−]
[src]
pub struct AuthorizationRequest<'a> { /* fields omitted */ }
Represents a valid, currently pending authorization request not bound to an owner. The frontend can signal a reponse using this object.
Methods
impl<'a> AuthorizationRequest<'a>
[src]
fn deny(self) -> Result<Url, CodeError>
[src]
Denies the request, which redirects to the client for which the request originated.
[src]
Inform the backend about consent from a resource owner. Use negotiated parameters to authorize a client for an owner.
fn pre_grant(&self) -> &PreGrant
[src]
Retrieve a reference to the negotiated parameters (e.g. scope). These should be displayed to the resource owner when asking for his authorization.