Expand description
Result types returned by authorization calls.
Structs§
- Authorize
Result - Result of an authorization request.
- Batch
Authorize Multi Issuer Response - Result of
Cedarling.authorize_multi_issuer_batch. Same shape asBatchAuthorizeUnsignedResponsewith multi-issuer results. - Batch
Authorize Unsigned Response - Result of
Cedarling.authorize_unsigned_batch. Carries a sharedbatch_id(UUIDv7) alongside per-item outcomes.results[i]corresponds to theitems[i]supplied in the request. - Batch
Item Error - Per-item build failure surfaced inside a batch response when Cedar
couldn’t be reached for that item.
categoryis the stable variant slug (action_parse,resource_build, …),item_indexis the position of the failing item in the originalitemslist. - Diagnostics
- Policies that determined the decision and errors raised during evaluation.
- Drop
Reason Info - Why a token was dropped.
kind(),detail()andmessage()return the same values as the core JSONreasonobject;variantis the typed reason. - Dropped
Token - A token dropped during multi-issuer authorization, identified by its input
mappingand zero-basedindex, with the claim-freereason. - Multi
Issuer Authorize Result - Result of multi-issuer authorization
- Response
- Cedar decision together with its diagnostics.
Enums§
- Batch
Item Multi Issuer Outcome - Multi-issuer analog of
BatchItemUnsignedOutcome. - Batch
Item Unsigned Outcome - One slot in
BatchAuthorizeUnsignedResponse.results. Pattern-match onSuccess(_)to read the Cedar decision, orFailed(_)to read the per-item build failure. - Decision
- Cedar authorization decision.