Type alias ConnectPermissionRequest

ConnectPermissionRequest: {
    permissions?: Permission[];
    protocolDefinition: DwnProtocolDefinition;
}

Represents a permission request for a protocol definition.

Type declaration

  • Optional permissions?: Permission[]

    The permissions being requested for the protocol. If none are provided, the default is to request all permissions.

  • protocolDefinition: DwnProtocolDefinition

    The protocol definition for the protocol being requested.