Struct oxide_auth::code_grant::error::AccessTokenError [−][src]
pub struct AccessTokenError { /* fields omitted */ }Expand description
Represents parameters of an error in an Issuing Error Response.
This is used for both access token requests, and token refresh requests as they use the same internal error representations in the RFC as well.
Implementations
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. The pairs will be encoded in the json body of the Bad Request response.
Trait Implementations
The error as key-value pairs.
Auto Trait Implementations
impl RefUnwindSafe for AccessTokenError
impl Send for AccessTokenError
impl Sync for AccessTokenError
impl Unpin for AccessTokenError
impl UnwindSafe for AccessTokenError
Blanket Implementations
Mutably borrows from an owned value. Read more