pub struct AuthorizationErrorRedirect {
pub redirect_uri: String,
pub error: ErrorResponse,
pub state: Option<String>,
pub iss: String,
}Expand description
An authorization error delivered by redirecting the user agent back to the client (RFC 6749 section 4.1.2.1).
Fields§
§redirect_uri: StringThe VALIDATED redirect URI. Never a URI supplied by an unvalidated request.
error: ErrorResponseThe error to report.
state: Option<String>The request’s state, echoed so the client can correlate the failure.
iss: StringRFC 9207 section 2: the issuer identifier, present on error responses exactly as on successful ones. A client that cannot attribute a failure cannot tell a genuine refusal by its own AS from one manufactured by an attacker’s.
Implementations§
Trait Implementations§
Source§impl Clone for AuthorizationErrorRedirect
impl Clone for AuthorizationErrorRedirect
Source§fn clone(&self) -> AuthorizationErrorRedirect
fn clone(&self) -> AuthorizationErrorRedirect
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthorizationErrorRedirect
impl Debug for AuthorizationErrorRedirect
impl Eq for AuthorizationErrorRedirect
impl StructuralPartialEq for AuthorizationErrorRedirect
Auto Trait Implementations§
impl Freeze for AuthorizationErrorRedirect
impl RefUnwindSafe for AuthorizationErrorRedirect
impl Send for AuthorizationErrorRedirect
impl Sync for AuthorizationErrorRedirect
impl Unpin for AuthorizationErrorRedirect
impl UnsafeUnpin for AuthorizationErrorRedirect
impl UnwindSafe for AuthorizationErrorRedirect
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more