Struct kanidm_proto::oauth2::OAuth2RFC9068TokenExtensions
source · pub struct OAuth2RFC9068TokenExtensions {
pub auth_time: Option<i64>,
pub acr: Option<String>,
pub amr: Option<Vec<String>>,
pub scope: BTreeSet<String>,
pub nonce: Option<String>,
pub session_id: Uuid,
pub parent_session_id: Option<Uuid>,
}
Expand description
Extensions for RFC 9068 Access Token
Fields§
§auth_time: Option<i64>
§acr: Option<String>
§amr: Option<Vec<String>>
§scope: BTreeSet<String>
§nonce: Option<String>
§session_id: Uuid
§parent_session_id: Option<Uuid>
Trait Implementations§
source§impl Clone for OAuth2RFC9068TokenExtensions
impl Clone for OAuth2RFC9068TokenExtensions
source§fn clone(&self) -> OAuth2RFC9068TokenExtensions
fn clone(&self) -> OAuth2RFC9068TokenExtensions
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 OAuth2RFC9068TokenExtensions
impl Debug for OAuth2RFC9068TokenExtensions
source§impl<'de> Deserialize<'de> for OAuth2RFC9068TokenExtensions
impl<'de> Deserialize<'de> for OAuth2RFC9068TokenExtensions
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
Auto Trait Implementations§
impl Freeze for OAuth2RFC9068TokenExtensions
impl RefUnwindSafe for OAuth2RFC9068TokenExtensions
impl Send for OAuth2RFC9068TokenExtensions
impl Sync for OAuth2RFC9068TokenExtensions
impl Unpin for OAuth2RFC9068TokenExtensions
impl UnwindSafe for OAuth2RFC9068TokenExtensions
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)