pub enum AuthnRequestValidationPolicy {
RequireSigned,
AllowUnsignedVerifyIfPresent,
AllowUnsignedForCompatibility,
}Expand description
Whether an identity provider requires a signed inbound <AuthnRequest>.
Self::RequireSigned is optional and stays off.
Self::AllowUnsignedVerifyIfPresent verifies a signature that is present
and still accepts an unsigned request.
Self::AllowUnsignedForCompatibility does not verify a present signature.
The accept combination is classified in
docs/conformance/web-browser-sso-acceptance.md.
Variants§
RequireSigned
Reject unsigned AuthnRequests.
AllowUnsignedVerifyIfPresent
Accept an unsigned AuthnRequest and verify a signature that is present.
AllowUnsignedForCompatibility
Accept unsigned AuthnRequests without verifying a signature that is present.
Trait Implementations§
Source§impl Clone for AuthnRequestValidationPolicy
impl Clone for AuthnRequestValidationPolicy
Source§fn clone(&self) -> AuthnRequestValidationPolicy
fn clone(&self) -> AuthnRequestValidationPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AuthnRequestValidationPolicy
Source§impl Debug for AuthnRequestValidationPolicy
impl Debug for AuthnRequestValidationPolicy
Source§impl Default for AuthnRequestValidationPolicy
impl Default for AuthnRequestValidationPolicy
Source§fn default() -> AuthnRequestValidationPolicy
fn default() -> AuthnRequestValidationPolicy
Returns the “default value” for a type. Read more
impl Eq for AuthnRequestValidationPolicy
impl StructuralPartialEq for AuthnRequestValidationPolicy
Auto Trait Implementations§
impl Freeze for AuthnRequestValidationPolicy
impl RefUnwindSafe for AuthnRequestValidationPolicy
impl Send for AuthnRequestValidationPolicy
impl Sync for AuthnRequestValidationPolicy
impl Unpin for AuthnRequestValidationPolicy
impl UnsafeUnpin for AuthnRequestValidationPolicy
impl UnwindSafe for AuthnRequestValidationPolicy
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