pub struct OAuthCallbackChecks<'a> {
pub response_type: Option<&'a str>,
pub state: Option<&'a str>,
pub code_verifier: Option<&'a str>,
pub jarm: Option<bool>,
}
Expand description
§OAuthCallbackChecks
Checks that needs to be performed against the OAuth CallbackParams recieved from the Auth server.
Fields§
§response_type: Option<&'a str>
When provided the authorization response will be checked for presence of required parameters for a given response_type. Use of this check is recommended.
state: Option<&'a str>
Expected state from the response
code_verifier: Option<&'a str>
PKCE code verified to be sent to the token endpoint
jarm: Option<bool>
Specifies that the response will be a JARM response
Trait Implementations§
Source§impl<'a> Default for OAuthCallbackChecks<'a>
impl<'a> Default for OAuthCallbackChecks<'a>
Source§fn default() -> OAuthCallbackChecks<'a>
fn default() -> OAuthCallbackChecks<'a>
Returns the “default value” for a type. Read more
Source§impl<'de: 'a, 'a> Deserialize<'de> for OAuthCallbackChecks<'a>
impl<'de: 'a, 'a> Deserialize<'de> for OAuthCallbackChecks<'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 OAuthCallbackChecks<'a>
impl<'a> RefUnwindSafe for OAuthCallbackChecks<'a>
impl<'a> Send for OAuthCallbackChecks<'a>
impl<'a> Sync for OAuthCallbackChecks<'a>
impl<'a> Unpin for OAuthCallbackChecks<'a>
impl<'a> UnwindSafe for OAuthCallbackChecks<'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