C# Class Openchain.Validation.PermissionBased.PermissionBasedValidator

Inheritance: IMutationValidator
ファイルを表示 Open project: openchain/openchain

Public Methods

Method Description
PermissionBasedValidator ( IList permissions ) : System.Collections.Generic
Validate ( Openchain.Infrastructure.ParsedMutation mutation, IReadOnlyList authentication, AccountStatus>.IReadOnlyDictionary accounts ) : Task>

Private Methods

Method Description
GetPermissions ( IReadOnlyList signedAddresses, Openchain.Infrastructure.LedgerPath path, string recordName ) : Task
ValidateAccountMutations ( IReadOnlyList accountMutations, AccountStatus>.IReadOnlyDictionary accounts, IReadOnlyList signedAddresses ) : System.Threading.Tasks.Task
ValidateDataMutations ( ByteString>.IReadOnlyList aliases, IReadOnlyList signedAddresses ) : System.Threading.Tasks.Task

Method Details

PermissionBasedValidator() public method

public PermissionBasedValidator ( IList permissions ) : System.Collections.Generic
permissions IList
return System.Collections.Generic

Validate() public method

public Validate ( Openchain.Infrastructure.ParsedMutation mutation, IReadOnlyList authentication, AccountStatus>.IReadOnlyDictionary accounts ) : Task>
mutation Openchain.Infrastructure.ParsedMutation
authentication IReadOnlyList
accounts AccountStatus>.IReadOnlyDictionary
return Task>