Cedar authorization request.
Groups principal, action, and resource as ExCedar.EntityUid structs
and an optional context as a plain map or ExCedar.Context struct.
%ExCedar.Request{
principal: ExCedar.EntityUid.new("User", "alice"),
action: ExCedar.EntityUid.new("Action", "view"),
resource: ExCedar.EntityUid.new("Document", "doc1"),
context: %{"mfa" => true}
}
Summary
Types
@type t() :: %ExCedar.Request{ action: ExCedar.EntityUid.t(), context: ExCedar.Context.t() | map(), principal: ExCedar.EntityUid.t(), resource: ExCedar.EntityUid.t() }