Struct oxide_auth::code_grant::error::AuthorizationError [−][src]
pub struct AuthorizationError { /* fields omitted */ }Expand description
Represents parameters of an error in an Authorization Error Response.
Implementations
Set the error type
Get the formal kind of error.
This can not currently be changed as to uphold the inner invariants for RFC compliance.
Provide a short text explanation for the error.
A uri identifying a resource explaining the error in detail.
Iterate over the key value pairs that describe this error.
These pairs must be added to the detailed description of an error. To this end the pairs
appear as part of a form urlencoded query component in the Location header of a server
response.
Trait Implementations
The error as key-value pairs.
Auto Trait Implementations
impl RefUnwindSafe for AuthorizationError
impl Send for AuthorizationError
impl Sync for AuthorizationError
impl Unpin for AuthorizationError
impl UnwindSafe for AuthorizationError
Blanket Implementations
Mutably borrows from an owned value. Read more