pub struct EndSessionParams {
pub end_session_endpoint: Option<String>,
pub id_token_hint: Option<String>,
pub post_logout_redirect_uri: Option<String>,
pub state: Option<String>,
}Expand description
What to put on the logout URL.
Fields§
§end_session_endpoint: Option<String>The discovered end_session_endpoint. It must be on the issuer’s origin; defaults to
<issuer>/oauth/end_session.
id_token_hint: Option<String>The ID token the person signed in with.
post_logout_redirect_uri: Option<String>Where to send the browser afterwards: needs id_token_hint (the service redirects only for a client it can
identify) and must be registered for that client.
state: Option<String>Echoed on the redirect: needs post_logout_redirect_uri.
Trait Implementations§
Source§impl Clone for EndSessionParams
impl Clone for EndSessionParams
Source§fn clone(&self) -> EndSessionParams
fn clone(&self) -> EndSessionParams
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 EndSessionParams
impl Debug for EndSessionParams
Source§impl Default for EndSessionParams
impl Default for EndSessionParams
Source§fn default() -> EndSessionParams
fn default() -> EndSessionParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EndSessionParams
impl RefUnwindSafe for EndSessionParams
impl Send for EndSessionParams
impl Sync for EndSessionParams
impl Unpin for EndSessionParams
impl UnsafeUnpin for EndSessionParams
impl UnwindSafe for EndSessionParams
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