Struct ory_hydra_client::models::accept_o_auth2_consent_request_session::AcceptOAuth2ConsentRequestSession
source · pub struct AcceptOAuth2ConsentRequestSession {
pub access_token: Option<Value>,
pub id_token: Option<Value>,
}
Fields§
§access_token: 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<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 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<'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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AcceptOAuth2ConsentRequestSession
Auto Trait Implementations§
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