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]

[src]

Modify the contained error.

[src]

Modify the error by moving it.

Trait Implementations

impl Into<Url> for ErrorUrl
[src]

[src]

Finalize the error url by saving its parameters in the query part of the redirect_uri