PermitSigner..::..Sign Method

Signs the specified owner.

Namespace:  SecretNET.AccessControl
Assembly:  SecretNET (in SecretNET.dll)

Syntax


public Task<Permit> Sign(
	string owner,
	string chainId,
	string permitName,
	string[] allowedContracts,
	PermissionType[] permissions
)

Parameters

owner
Type: String
The adrress of the owner / approver.
chainId
Type: String
The chain identifier.
permitName
Type: String
A free-form string. The user can later revoke this permit using this name..
allowedContracts
Type: array<String>[]()[][]
A list of contract / token addresses to which this permit applies.
permissions
Type: array<PermissionType>[]()[][]
An array that may contain balance, history and allowance.

Return Value

Permit.