cedar library
Core types and interfaces of the Cedar policy language in Dart.
Cedar is a policy language for defining and enforcing access control policies in a declarative way. It is used in Celest for ensuring that only authorized users meeting certain criteria can access your backend.
The actual implementation of the Cedar engine is in
cedar_ffi, which uses FFI and Dart's
native assets feature to bind to the Rust implementation of Cedar. This
package only holds the Dart AST representation and is separate from
package:cedar_ffi
so that the types can be used without bundling the
native assets of package:cedar_ffi
.
Classes
- CedarActionAppliesTo
- CedarActionSchema
- CedarAuthorizationRequest
-
A request for authorization to a
CedarEngine
. - CedarAuthorizationResponse
- The response to a CedarAuthorizer request.
- CedarAuthorizer
- CedarBooleanType
- CedarDecimalType
- CedarEntity
- Dart representation of a Cedar entity.
- CedarEntityBuilder
- CedarEntityId
- CedarEntityIdBuilder
- CedarEntitySchema
- CedarEntityType
- CedarExtensionInvocation
- CedarIpAddressType
- CedarLongType
- CedarNamespace
- CedarPolicy
- CedarPolicyAction
- CedarPolicyActionBuilder
- CedarPolicyBuilder
- CedarPolicyCondition
- CedarPolicyConditionBuilder
- CedarPolicyConditionKind
- CedarPolicyEffect
- CedarPolicyOp
- CedarPolicyPrincipal
- CedarPolicyPrincipalBuilder
- CedarPolicyResource
- CedarPolicyResourceBuilder
- CedarPolicySet
- A collection of Cedar policies.
- CedarPolicySetBuilder
- CedarRecordType
- CedarSchema
- Dart representation of a Cedar schema.
- CedarSetType
- CedarSlotId
- CedarStringType
- CedarType
- CedarTypeDefinition
- CedarTypeReference
- CedarValueBool
- CedarValueEntity
- CedarValueExtension
- CedarValueJson
- CedarValueLong
- CedarValueRecord
- CedarValueSet
- CedarValueString
- JsonBinaryExpr
- JsonExpr
- JsonExprAnd
- JsonExprContains
- JsonExprContainsAll
- JsonExprContainsAny
- JsonExprEquals
- JsonExprFuncCall
- JsonExprGetAttribute
- JsonExprGreaterThan
- JsonExprGreaterThanOrEquals
- JsonExprHasAttribute
- JsonExprIfThenElse
- JsonExprIn
- JsonExprIs
- JsonExprLessThan
- JsonExprLessThanOrEquals
- JsonExprLike
- JsonExprMinus
- JsonExprNeg
- JsonExprNot
- JsonExprNotEquals
- JsonExprOp
- JsonExprOpFunc
- JsonExprOr
- JsonExprPlus
- JsonExprRecord
- JsonExprSet
- JsonExprSlot
- JsonExprTimes
- JsonExprUnknown
- JsonExprValue
- JsonExprVariable
Enums
- CedarAuthorizationDecision
- The decision of an authorization request.
- CedarVariable
- JsonExprOpCode
Properties
- cedarSerializers → Serializers
-
package:built_value
serializers for Cedar types.final