pub struct AuthorizationRequest { /* private fields */ }Expand description
An authorization redirect that also sets the _oauth_state cookie.
Returned by OAuthProvider::authorize_url.
Implements axum::response::IntoResponse: returning it from a handler issues an HTTP
303 See Other redirect to the provider’s authorization endpoint and attaches the signed
state cookie.
Trait Implementations§
Source§impl IntoResponse for AuthorizationRequest
impl IntoResponse for AuthorizationRequest
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl Freeze for AuthorizationRequest
impl RefUnwindSafe for AuthorizationRequest
impl Send for AuthorizationRequest
impl Sync for AuthorizationRequest
impl Unpin for AuthorizationRequest
impl UnsafeUnpin for AuthorizationRequest
impl UnwindSafe for AuthorizationRequest
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