Skip to content

aisbreaker-api-js - v0.1.15 / api/models/Auth / AccessToken

Class: AccessToken

api/models/Auth.AccessToken

Authentication data to use a specific AI service.

Shoud not be logged for security reasons.

Implements

Table of contents

Constructors

Properties

Constructors

constructor

new AccessToken(secret)

Parameters

NameType
secretstring

Defined in

aisbreaker-js/packages/aisbreaker-api-js/src/api/models/Auth.ts:17

Properties

secret

secret: string

If the service needs an access token/auth token/API key/access key it must be set here.

Implementation of

Auth.secret

Defined in

aisbreaker-js/packages/aisbreaker-api-js/src/api/models/Auth.ts:15

Released under the MIT License.