pub struct OAuth2LogoutRequest {
pub challenge: Option<String>,
pub client: Option<Box<OAuth2Client>>,
pub request_url: Option<String>,
pub rp_initiated: Option<bool>,
pub sid: Option<String>,
pub subject: Option<String>,
}
Fields§
§challenge: Option<String>
Challenge is the identifier ("logout challenge") of the logout authentication request. It is used to identify the session.
client: Option<Box<OAuth2Client>>
§request_url: Option<String>
RequestURL is the original Logout URL requested.
rp_initiated: Option<bool>
RPInitiated is set to true if the request was initiated by a Relying Party (RP), also known as an OAuth 2.0 Client.
sid: Option<String>
SessionID is the login session ID that was requested to log out.
subject: Option<String>
Subject is the user for whom the logout was request.
Implementations§
source§impl OAuth2LogoutRequest
impl OAuth2LogoutRequest
pub fn new() -> OAuth2LogoutRequest
Trait Implementations§
source§impl Clone for OAuth2LogoutRequest
impl Clone for OAuth2LogoutRequest
source§fn clone(&self) -> OAuth2LogoutRequest
fn clone(&self) -> OAuth2LogoutRequest
Returns a copy of the value. Read more
1.0.0 · 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 OAuth2LogoutRequest
impl Debug for OAuth2LogoutRequest
source§impl Default for OAuth2LogoutRequest
impl Default for OAuth2LogoutRequest
source§impl<'de> Deserialize<'de> for OAuth2LogoutRequest
impl<'de> Deserialize<'de> for OAuth2LogoutRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for OAuth2LogoutRequest
impl PartialEq for OAuth2LogoutRequest
source§fn eq(&self, other: &OAuth2LogoutRequest) -> bool
fn eq(&self, other: &OAuth2LogoutRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for OAuth2LogoutRequest
impl Serialize for OAuth2LogoutRequest
impl StructuralPartialEq for OAuth2LogoutRequest
Auto Trait Implementations§
impl RefUnwindSafe for OAuth2LogoutRequest
impl Send for OAuth2LogoutRequest
impl Sync for OAuth2LogoutRequest
impl Unpin for OAuth2LogoutRequest
impl UnwindSafe for OAuth2LogoutRequest
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