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
Name | Type |
---|---|
secret | string |
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
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/api/models/Auth.ts:15