Interface: AccountWithSignature
api/procedures/types.AccountWithSignature
Properties
authSignature
• authSignature: string
Off-chain authorization signature generated by secondaryAccount
signing of the target Id authorization
Target Id authorization consists of the target Identity (to which the secondary account will be added),
off chain authorization nonce of the target Identity and expiry date (same as expiresAt
value) until which the off chain authorization will be valid.
Signature has to be generated encoding the target Id authorization value in the specified order.
Note
Nonce value can be fetched using Identity.getOffChainAuthorizationNonce Signature can also be generated using the method accountManagement.generateOffChainAuthSignature
Defined in
secondaryAccount
• secondaryAccount: Modify
<PermissionedAccount
, { account
: string
| Account
; permissions
: PermissionsLike
}>
The secondary Account along with its permissions to be added
Note
This account should not be linked to any other Identity