Skip to main content
B20 policy configuration has two parts:
  1. Read each token scope with token.policyId(scope).
  2. Read or write the pointed-to policy in the singleton PolicyRegistry.

Audit a token’s policy scopes

Interpretation:
Validate policyExists(policyId) before binding a scope. isAuthorized does not revert for missing IDs.

Create and bind a simple policy

Update membership

Create a composite policy

Transfer or freeze policy administration

Policies & scopes

IPolicyRegistry reference