A DOF operation requires permissions before it can be sent. DOFPermission is the DOF component that represents permissions stored in the AS.
Here we create binding permissions to allow "provide" operations so we can request the binding permissions from the AS.
Permissions determine the operations that a provider or requestor can perform.
The binding permission (DOFPermission.Binding) controls the types of operations (defined by the interface) that a node can perform. Actions are added to this permission to control each operation. These actions are as follows:
For more information on permission types, see https://opendof.org/binding-permissions/. You can find the Permission Type Registry at https://opendof.org/support/registries/permission-type-registry/.
The ActAsAny permission allows a proxy node to forward operations for other nodes. This permission is instantiated by calling its constructor, DOFPermission.ActAsAny.
Note: Proxy nodes require the permissions of both the provider and requestor to communicate.