Skip to main content

@bloock/sdk / AccessControlSecret

Class: AccessControlSecret

Represents a secret used for secret-based access control.

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new AccessControlSecret(secret): AccessControlSecret

Creates a new AccessControlSecret instance with the provided secret.

Parameters

NameType
secretstring

Returns

AccessControlSecret

Defined in

entity/key/access_control_secret.ts:13

Properties

secret

secret: string

Defined in

entity/key/access_control_secret.ts:7

Methods

toProto

toProto(): AccessControlSecret

Returns

AccessControlSecret

Defined in

entity/key/access_control_secret.ts:19