Class KitsasConnectionOptions

Constructors

Properties

agent?: string = undefined

User agent to identify the client

process.env.KITSAS_AGENT or KitsasLibrary
mock?: boolean = false

Use mock implementation (for testing)

password?: string = undefined

User password to login

In case on two factor authentication, use the code from the authenticator app In case on passwordless login, use last part of the auth key code

process.env.KITSAS_PASSWORD
token?: string = undefined

OAuth2 access token

url?: string = undefined

Kitsas API Base URL

process.env.KITSAS_URL or  https://api.kitsas.fi
username?: string = undefined

User email or userId (for M2M) to login

In case on two factor authentication, use the code (beginning with 2FA:) you received In case on passwordless login, use auth key code (beginning with KEY:)

process.env.KITSAS_USERNAME