pub struct OpenIDCallbackChecks<'a> {
pub max_age: Option<u64>,
pub nonce: Option<&'a str>,
pub oauth_checks: Option<OAuthCallbackChecks<'a>>,
}
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<&'a str>
When provided the authorization response’s ID Token nonce parameter will be checked to be the this expected one.
oauth_checks: Option<OAuthCallbackChecks<'a>>
Trait Implementations§
Source§impl<'a> Default for OpenIDCallbackChecks<'a>
impl<'a> Default for OpenIDCallbackChecks<'a>
Source§fn default() -> OpenIDCallbackChecks<'a>
fn default() -> OpenIDCallbackChecks<'a>
Returns the “default value” for a type. Read more
Source§impl<'de: 'a, 'a> Deserialize<'de> for OpenIDCallbackChecks<'a>
impl<'de: 'a, 'a> Deserialize<'de> for OpenIDCallbackChecks<'a>
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<'a> Freeze for OpenIDCallbackChecks<'a>
impl<'a> RefUnwindSafe for OpenIDCallbackChecks<'a>
impl<'a> Send for OpenIDCallbackChecks<'a>
impl<'a> Sync for OpenIDCallbackChecks<'a>
impl<'a> Unpin for OpenIDCallbackChecks<'a>
impl<'a> UnwindSafe for OpenIDCallbackChecks<'a>
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