pub enum LogoutHintError {
IssuerMismatch,
SubjectMissing,
Profile(AuthError),
Jose(SharedAuthError),
}Expand description
Errors from id_token_hint validation (OIDC RP-Initiated Logout §2).
Variants§
IssuerMismatch
iss claim absent or not equal to the OP’s issuer. A hint signed by
THIS OP must name THIS OP; mismatch = foreign token or forgery.
SubjectMissing
sub claim absent or empty — the hint cannot identify a session.
Profile(AuthError)
id_token profile assertion failed (cat != "id") — e.g. an access
token replayed as a logout hint. Carried from
check_id_token_cat.
Jose(SharedAuthError)
JOSE wire-format / signature error from the shared engine pipeline
(oversize, JWE/JSON shape, algorithm whitelist, header, kid
resolution, signature). exp leniency is NOT signature leniency.
Trait Implementations§
Source§impl Clone for LogoutHintError
impl Clone for LogoutHintError
Source§fn clone(&self) -> LogoutHintError
fn clone(&self) -> LogoutHintError
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 LogoutHintError
impl Debug for LogoutHintError
Source§impl Display for LogoutHintError
impl Display for LogoutHintError
impl Eq for LogoutHintError
Source§impl Error for LogoutHintError
impl Error for LogoutHintError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<AuthError> for LogoutHintError
impl From<AuthError> for LogoutHintError
Source§fn from(source: SharedAuthError) -> Self
fn from(source: SharedAuthError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LogoutHintError
impl PartialEq for LogoutHintError
impl StructuralPartialEq for LogoutHintError
Auto Trait Implementations§
impl Freeze for LogoutHintError
impl RefUnwindSafe for LogoutHintError
impl Send for LogoutHintError
impl Sync for LogoutHintError
impl Unpin for LogoutHintError
impl UnsafeUnpin for LogoutHintError
impl UnwindSafe for LogoutHintError
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