pub enum AuthBlockFamily {
OriginAuthentication,
OriginAuthorization,
ProxyAuthentication,
NetworkAuthentication,
LoginRedirect,
AuthErrorEnvelope,
}Expand description
Family of auth-related block. Each family corresponds to a distinct operator action.
Variants§
OriginAuthentication
401 / WWW-Authenticate at origin server.
OriginAuthorization
403 with explicit auth-layer evidence (e.g. insufficient_scope challenge).
ProxyAuthentication
407 / Proxy-Authenticate.
NetworkAuthentication
511 captive portal / network gatekeeper.
LoginRedirect
3xx redirect to a login/auth endpoint (heuristic).
AuthErrorEnvelope
JSON/XML auth error envelope on an otherwise non-auth status.
Trait Implementations§
Source§impl Clone for AuthBlockFamily
impl Clone for AuthBlockFamily
Source§fn clone(&self) -> AuthBlockFamily
fn clone(&self) -> AuthBlockFamily
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 moreSource§impl Debug for AuthBlockFamily
impl Debug for AuthBlockFamily
Source§impl PartialEq for AuthBlockFamily
impl PartialEq for AuthBlockFamily
Source§fn eq(&self, other: &AuthBlockFamily) -> bool
fn eq(&self, other: &AuthBlockFamily) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AuthBlockFamily
impl Eq for AuthBlockFamily
impl StructuralPartialEq for AuthBlockFamily
Auto Trait Implementations§
impl Freeze for AuthBlockFamily
impl RefUnwindSafe for AuthBlockFamily
impl Send for AuthBlockFamily
impl Sync for AuthBlockFamily
impl Unpin for AuthBlockFamily
impl UnsafeUnpin for AuthBlockFamily
impl UnwindSafe for AuthBlockFamily
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.