#[non_exhaustive]pub enum AuthorizationProblem {
Property {
object: ObjectIdentifier,
property: PropertyIdentifier,
failure: AuthorizationReadFailure,
},
MissingFact(&'static str),
UnsupportedValue {
object: ObjectIdentifier,
property: PropertyIdentifier,
value: u64,
},
InconsistentCredentialEvidence {
credential: ObjectIdentifier,
detail: &'static str,
},
Context(&'static str),
ExcludedRights {
presentation: CredentialPresentation,
},
Accompaniment(AccompanimentProblem),
CompanionAuthentication {
presentation: CredentialPresentation,
reason: CompanionAuthenticationProblem,
},
}Expand description
Missing, inconsistent, or unsupported authorization evidence.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Property
A required property failed or had the wrong structure.
Fields
object: ObjectIdentifierObject that served the value.
property: PropertyIdentifierProperty requested.
failure: AuthorizationReadFailurePreserved read/decoding failure.
MissingFact(&'static str)
The application explicitly lacks a required operational fact.
UnsupportedValue
A standard range or supported enumeration does not include this value.
Fields
object: ObjectIdentifierObject carrying the value.
property: PropertyIdentifierProperty carrying the value.
InconsistentCredentialEvidence
Credential status/reasons or their time subset disagree at the supplied moment.
Fields
credential: ObjectIdentifierCredential being checked.
Context(&'static str)
Identity, topology, or monotonic evidence is inconsistent.
ExcludedRights
The explicit policy requires all assignments to be locally available.
Fields
presentation: CredentialPresentationPresentation whose preserved rights diagnostics prevent a conclusion.
Accompaniment(AccompanimentProblem)
Existing accompaniment-stage evidence remains unresolved.
CompanionAuthentication
Authentication was not established for this exact companion presentation.
Fields
presentation: CredentialPresentationThe relied-on companion tuple.
reason: CompanionAuthenticationProblemMissing, duplicate, or unknown evidence.