pub struct PreviousConsentSession {
pub consent_request: Option<ConsentRequest>,
pub grant_access_token_audience: Option<Vec<String>>,
pub grant_scope: Option<Vec<String>>,
pub remember: Option<bool>,
pub remember_for: Option<i64>,
pub session: Option<ConsentRequestSession>,
}Expand description
PreviousConsentSession : The response used to return used consent requests same as HandledLoginRequest, just with consent_request exposed as json
Fields§
§consent_request: Option<ConsentRequest>§grant_access_token_audience: Option<Vec<String>>GrantedAudience sets the audience the user authorized the client to use. Should be a subset of requested_access_token_audience.
grant_scope: Option<Vec<String>>GrantScope sets the scope the user authorized the client to use. Should be a subset of requested_scope
remember: Option<bool>Remember, if set to true, tells ORY Hydra to remember this consent authorization and reuse it if the same client asks the same user for the same, or a subset of, scope.
remember_for: Option<i64>RememberFor sets how long the consent authorization should be remembered for in seconds. If set to 0, the authorization will be remembered indefinitely.
session: Option<ConsentRequestSession>Implementations§
Source§impl PreviousConsentSession
impl PreviousConsentSession
Sourcepub fn new() -> PreviousConsentSession
pub fn new() -> PreviousConsentSession
The response used to return used consent requests same as HandledLoginRequest, just with consent_request exposed as json
Trait Implementations§
Source§impl Clone for PreviousConsentSession
impl Clone for PreviousConsentSession
Source§fn clone(&self) -> PreviousConsentSession
fn clone(&self) -> PreviousConsentSession
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more