Struct oxide_auth::code_grant::backend::ErrorUrl
[−]
[src]
pub struct ErrorUrl { /* fields omitted */ }
Encapsulates a redirect to a valid redirect_uri with an error response. The implementation makes it possible to alter the contained error, for example to provide additional optional information. The error type should not be altered by the frontend but the specificalities of this should be enforced by the frontend instead.
Methods
impl ErrorUrl
[src]
fn with_mut<M>(&mut self, modifier: M) where
M: AuthorizationErrorExt,
[src]
M: AuthorizationErrorExt,
Modify the contained error.
fn with<M>(self, modifier: M) -> Self where
M: AuthorizationErrorExt,
[src]
M: AuthorizationErrorExt,
Modify the error by moving it.