AccessStore
Functions
setAccess
Sets the access level to the object
Parameters
Name
Type
Description
accessID
bytes32
a
signer
address
Address of the signer of the request
deadline
uint
Expiration timestamp of the request
signature
bytes
Cryptographic signature of the request performed by the signer's key
Return Values:
Name
Type
Description
action
getAccess
Retrieving access level information
Parameters
Name
Type
Description
accessID
bytes32
Return Values:
Name
Type
Description
access
getAccessByIdHash
Retrieving access level information by idHash
Parameters
Name
Type
Description
accessID
bytes32
Subject ID
accessIdHash
bytes32
Object ID hash
Return Values:
Name
Type
Description
access
userAccess
Retrieving information about a user's access level, taking into account his membership in user groups.
Parameters
Name
Type
Description
userIDHash
bytes32
User ID hash
kind
idHash
bytes32
Object ID hash
Return Values:
Name
Type
Description
access
Models
AccessKind
AccessLevel
AccessAction
Access
Parameters
Name
Type
Description
kind
idHash
bytes32
idEncr
bytes
id encrypted by access key
keyEncr
bytes
access key encrypted by user private key
level
Last updated