Skip to main content

Module security_policy

Module security_policy 

Source

Structs§

Principal
Represents an authenticated principal extracted from token claims.
SecurityPolicyConfig

Enums§

AuthorizationDecision

Constants§

PRINCIPAL_AUDIENCE_KEY
Exchange property key for the principal’s audience (JSON array).
PRINCIPAL_CLAIMS_KEY
Exchange property key for the principal’s raw claims (JSON object).
PRINCIPAL_ISSUER_KEY
Exchange property key for the principal’s issuer.
PRINCIPAL_KEY
Exchange property key for the full serialized principal.
PRINCIPAL_ROLES_KEY
Exchange property key for the principal’s roles (JSON array).
PRINCIPAL_SCOPES_KEY
Exchange property key for the principal’s scopes (JSON array).
PRINCIPAL_SUBJECT_KEY
Exchange property key for the principal’s subject.

Traits§

SecurityPolicy

Functions§

principal_from_exchange
store_principal_properties
Store all principal properties as exchange properties under well-known keys.