[][src]Struct open_api_hydra::models::consent_request_session::ConsentRequestSession

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

impl ConsentRequestSession[src]

Trait Implementations

impl Clone for ConsentRequestSession[src]

impl Debug for ConsentRequestSession[src]

impl<'de> Deserialize<'de> for ConsentRequestSession[src]

impl PartialEq<ConsentRequestSession> for ConsentRequestSession[src]

impl Serialize for ConsentRequestSession[src]

impl StructuralPartialEq for ConsentRequestSession[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.