pub enum PortableClaimsError {
Show 13 variants
InvalidContext,
AudienceMismatch,
IssuerMismatch,
MechanismMismatch,
KeyMismatch,
CallerMismatch,
GrantsExceeded,
InvalidWindow,
NotYetValid,
Expired,
BeforeReset,
StaleAuthority,
Encoding(PortableEncodingError),
}Expand description
Pure rejection of claims against protected context; success is not admission.
Variants§
InvalidContext
Protected authority or configured time bounds are internally invalid.
AudienceMismatch
Signed audience differs from the protected receiver audience.
IssuerMismatch
Signed issuer differs from the enrolled issuer.
MechanismMismatch
Signed proof mechanism differs from the enrolled mechanism.
KeyMismatch
Signed key binding differs from the enrolled binding.
CallerMismatch
The browser key does not identify the authenticated ingress caller.
GrantsExceeded
Credential grants exceed current protected issuer authority.
InvalidWindow
Login or proof time windows are inconsistent or exceed host bounds.
NotYetValid
The proof starts after the current host time; authenticity is not implied.
Expired
The proof admission window has ended.
BeforeReset
Login start or issuance precedes a protected acceptance floor.
StaleAuthority
Issuer authority or enrollment is outside its live window.
Encoding(PortableEncodingError)
Claims fail canonical structural admission.
Trait Implementations§
Source§impl Debug for PortableClaimsError
impl Debug for PortableClaimsError
Source§impl Display for PortableClaimsError
impl Display for PortableClaimsError
impl Eq for PortableClaimsError
Source§impl Error for PortableClaimsError
impl Error for PortableClaimsError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()