Skip to main content

AccessControl

Represents access control information, including Time-based One-Time Password (TOTP) and secret-based access.

  • Full name: \Bloock\Entity\Key\AccessControl

Properties

accessControlTotp

public ?\Bloock\Entity\Key\AccessControlTotp $accessControlTotp

accessControlSecret

public ?\Bloock\Entity\Key\AccessControlSecret $accessControlSecret

Methods

__construct

Constructs AccessControl object from an AccessControlTotp or AccessControlSecret object.

public __construct( $accessControl): mixed

Parameters:

ParameterTypeDescription
$accessControl****

Throws:


toProto

public toProto(): \Bloock\AccessControl


Automatically generated on 2024-04-02