Expand description
One request to judge, and how it becomes Cedar’s principal, action, resource, context and entity store.
Structs§
- Account
Attributes - What the gate knows about the account beyond its DID. Each is absent
when the gate does not carry it, and a statement guards it with
has. - Built 🔒
- Prepared 🔒
- A request ready for any number of statements to judge.
- Request
- One request for a document to judge.
- Request
Error - The request could not be turned into something Cedar can judge. The caller refuses: nothing was evaluated, so nothing was permitted.
Enums§
- Action
- The action being asked about, with its resource and context.
- Operation
- What a
record.writedoes to the record. - Principal
- Who is asking, as much of it as the gate knows.
Functions§
- client_
entity 🔒 - The
Cliententity a write’scontext.clientrefers to, with the sameidattribute the OAuth actions’ resource carries. - datetime 🔒
- A Cedar
datetimevalue in the JSON form the context parser reads. - entity_
ref 🔒 - typed 🔒
- A record as Cedar sees it: the fields the shape types as
datetimebecome datetime values, everything else passes through as JSON. With no shape, everything passes through. - typed_
field 🔒