Struct openid_client::types::OpenIDCallbackChecks
source · pub struct OpenIDCallbackChecks {
pub max_age: Option<u64>,
pub nonce: Option<String>,
pub oauth_checks: Option<OAuthCallbackChecks>,
}Expand description
OpenIDCallbackChecks
Checks that needs to be performed against the Oidc CallbackParams recieved from the Auth server.
Fields§
§max_age: Option<u64>When provided the authorization response’s ID Token auth_time parameter will be checked to be conform to the max_age value. Use of this check is required if you sent a max_age parameter into an authorization request. Default: uses client’s default_max_age.
nonce: Option<String>When provided the authorization response’s ID Token nonce parameter will be checked to be the this expected one.
oauth_checks: Option<OAuthCallbackChecks>Trait Implementations§
source§impl Default for OpenIDCallbackChecks
impl Default for OpenIDCallbackChecks
source§fn default() -> OpenIDCallbackChecks
fn default() -> OpenIDCallbackChecks
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OpenIDCallbackChecks
impl<'de> Deserialize<'de> for OpenIDCallbackChecks
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
Auto Trait Implementations§
impl RefUnwindSafe for OpenIDCallbackChecks
impl Send for OpenIDCallbackChecks
impl Sync for OpenIDCallbackChecks
impl Unpin for OpenIDCallbackChecks
impl UnwindSafe for OpenIDCallbackChecks
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