AccessStore
Functions
setAccess
function setAccess(
bytes32 accessID,
Access memory a,
address signer,
uint deadline,
bytes calldata signature
) external returns(AccessAction)Sets the access level to the object
Parameters
Name
Type
Description
accessID
bytes32
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
getAccess
Retrieving access level information
Parameters
Name
Type
Description
accessID
bytes32
Return Values:
Name
Type
Description
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
userAccess
Retrieving information about a user's access level, taking into account his membership in user groups.
Parameters
Name
Type
Description
Return Values:
Name
Type
Description
Models
AccessKind
AccessLevel
AccessAction
Access
Parameters
Name
Type
Description
idHash
bytes32
idEncr
bytes
id encrypted by access key
keyEncr
bytes
access key encrypted by user private key
Last updated