Type Alias GenericSignaturePayload

GenericSignaturePayload: {
    delegatedGrantId?: string;
    descriptorCid: string;
    permissionGrantId?: string;
    protocolRole?: string;
}

Type of common decoded authorization property payload.

Type declaration

  • OptionaldelegatedGrantId?: string

    Record ID of a permission grant DWN RecordsWrite with delegated set to true.

  • descriptorCid: string
  • OptionalpermissionGrantId?: string
  • OptionalprotocolRole?: string

    Used in the Records interface to authorize role-authorized actions for protocol records.