Struct oxide_auth::code_grant::error::AuthorizationError
[−]
[src]
pub struct AuthorizationError { /* fields omitted */ }Represents parameters of an error in an Authorization Error Response
Methods
impl AuthorizationError[src]
fn with<A: AuthorizationErrorExt>(modifier: A) -> AuthorizationError[src]
Construct an AuthorizationError using several parameters applied after one another.
Providing no arguments, (), will produce a generic InvalidRequest error without any
description or error uri which would provide additional information for the client.
Trait Implementations
impl AuthorizationErrorExt for AuthorizationError[src]
fn modify(self, error: &mut AuthorizationError)[src]
Add or set description, uri or the numeric error code.