Package-level declarations
Types
An authorization policy that defines the permissions for a principal to perform actions on several types of resources.
Context for evaluating permissions. Contains the principal, resource, and derived roles which are used at runtime to determine whether the principal has permission to perform an action on the resource.
Exception thrown when a permission check fails for a given principal and resource.
Internal object used by AuthorizationPolicy to enable a more fluent API for checking permissions.
Represents an action that can be performed on a resource. The generic type Resource is the type of resource this action can be performed on.
Represents a policy defining the rules for accessing a specific type of resource.
Functions
Convenience function for creating an AuthorizationPolicy and initializing it via the provided init block.
Convenience function for creating a ResourcePolicy and initializing it via the provided init block.