pub struct ConsentRequestSession {
pub access_token: Option<HashMap<String, Value>>,
pub id_token: Option<HashMap<String, Value>>,
}Fields§
§access_token: Option<HashMap<String, 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<HashMap<String, 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§
Source§impl ConsentRequestSession
impl ConsentRequestSession
pub fn new() -> ConsentRequestSession
Trait Implementations§
Source§impl Clone for ConsentRequestSession
impl Clone for ConsentRequestSession
Source§fn clone(&self) -> ConsentRequestSession
fn clone(&self) -> ConsentRequestSession
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 Debug for ConsentRequestSession
impl Debug for ConsentRequestSession
Source§impl<'de> Deserialize<'de> for ConsentRequestSession
impl<'de> Deserialize<'de> for ConsentRequestSession
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 ConsentRequestSession
impl PartialEq for ConsentRequestSession
Source§impl Serialize for ConsentRequestSession
impl Serialize for ConsentRequestSession
impl StructuralPartialEq for ConsentRequestSession
Auto Trait Implementations§
impl Freeze for ConsentRequestSession
impl RefUnwindSafe for ConsentRequestSession
impl Send for ConsentRequestSession
impl Sync for ConsentRequestSession
impl Unpin for ConsentRequestSession
impl UnwindSafe for ConsentRequestSession
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