pub struct AcceptOAuth2ConsentRequestSession {
pub access_token: Option<Option<Value>>,
pub id_token: Option<Option<Value>>,
}Fields§
§access_token: Option<Option<Value>>AccessToken sets session data for the access and refresh token, as well as any future tokens issued by the refresh grant. Keep in mind that this data will be available to anyone performing OAuth 2.0 Challenge Introspection. If only your services can perform OAuth 2.0 Challenge Introspection, this is usually fine. But if third parties can access that endpoint as well, sensitive data from the session might be exposed to them. Use with care!
id_token: Option<Option<Value>>IDToken sets session data for the OpenID Connect ID token. Keep in mind that the session’id payloads are readable by anyone that has access to the ID Challenge. Use with care!
Implementations§
Trait Implementations§
Source§impl Clone for AcceptOAuth2ConsentRequestSession
impl Clone for AcceptOAuth2ConsentRequestSession
Source§fn clone(&self) -> AcceptOAuth2ConsentRequestSession
fn clone(&self) -> AcceptOAuth2ConsentRequestSession
Returns a duplicate 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 Default for AcceptOAuth2ConsentRequestSession
impl Default for AcceptOAuth2ConsentRequestSession
Source§fn default() -> AcceptOAuth2ConsentRequestSession
fn default() -> AcceptOAuth2ConsentRequestSession
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AcceptOAuth2ConsentRequestSession
impl<'de> Deserialize<'de> for AcceptOAuth2ConsentRequestSession
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 AcceptOAuth2ConsentRequestSession
impl PartialEq for AcceptOAuth2ConsentRequestSession
Source§fn eq(&self, other: &AcceptOAuth2ConsentRequestSession) -> bool
fn eq(&self, other: &AcceptOAuth2ConsentRequestSession) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AcceptOAuth2ConsentRequestSession
Auto Trait Implementations§
impl Freeze for AcceptOAuth2ConsentRequestSession
impl RefUnwindSafe for AcceptOAuth2ConsentRequestSession
impl Send for AcceptOAuth2ConsentRequestSession
impl Sync for AcceptOAuth2ConsentRequestSession
impl Unpin for AcceptOAuth2ConsentRequestSession
impl UnwindSafe for AcceptOAuth2ConsentRequestSession
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