pub struct LogoutToken {
pub issuer: String,
pub jti: String,
pub issued_at: f64,
pub expires_at: f64,
pub subject: Option<String>,
pub session_id: Option<String>,
pub claims: Map<String, Value>,
}Expand description
What a verified logout token tells the relying party.
Fields§
§issuer: String§jti: String§issued_at: f64§expires_at: f64§subject: Option<String>The subject whose sessions end (None when the token names only a session).
session_id: Option<String>The session to end (None when the token names only a subject).
claims: Map<String, Value>Every claim of the token.
Trait Implementations§
Source§impl Clone for LogoutToken
impl Clone for LogoutToken
Source§fn clone(&self) -> LogoutToken
fn clone(&self) -> LogoutToken
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 LogoutToken
impl Debug for LogoutToken
Source§impl PartialEq for LogoutToken
impl PartialEq for LogoutToken
Source§fn eq(&self, other: &LogoutToken) -> bool
fn eq(&self, other: &LogoutToken) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LogoutToken
Auto Trait Implementations§
impl Freeze for LogoutToken
impl RefUnwindSafe for LogoutToken
impl Send for LogoutToken
impl Sync for LogoutToken
impl Unpin for LogoutToken
impl UnsafeUnpin for LogoutToken
impl UnwindSafe for LogoutToken
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