@bloock/sdk / AccessControl
Class: AccessControl
Represents access control information, including Time-based One-Time Password (TOTP) and secret-based access.
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new AccessControl(accessControl
): AccessControl
Constructs AccessControl object from an AccessControlTotp or AccessControlSecret object.
Parameters
Name | Type |
---|---|
accessControl | AccessControlSecret | AccessControlTotp |
Returns
Defined in
entity/key/access_control.ts:16
Properties
accessControlSecret
• Optional
accessControlSecret: AccessControlSecret
Defined in
entity/key/access_control.ts:10
accessControlTotp
• Optional
accessControlTotp: AccessControlTotp
Defined in
entity/key/access_control.ts:9
Methods
toProto
▸ toProto(): AccessControl
Returns
AccessControl