1.6.16 • Published 4 months ago

@datenkraft/bb-authentication-api-ts-client v1.6.16

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
4 months ago

Backbone - Authentication API TS Client

Introduction

The Authentication API TS Client enables you to work with the Authentication API.

Prerequisites

  • npm

Installation

You can use npm to install the package.

npm install @datenkraft/bb-authentication-api-ts-client

Using the package

The package can be used to communicate with the Authentication API. The Client includes functionalities for every endpoint defined in the openapi.json. The Client is auto-generated with OpenAPITools using an openapi.json file.

Initializing the Client and calling an Endpoint

import { ConfigOptions } from '@datenkraft/bb-base-api-ts-client';
import { AuthenticationApiClient } from '@datenkraft/bb-authentication-api-ts-client';
import { XxxApi } from '@datenkraft/bb-authentication-api-ts-client/Generated';

const configOptions: ConfigOptions = {
  clientId: 'clientId',
  clientSecret: 'clientSecret',
  oAuthTokenHost: 'oAuthTokenHost',
  tokenTradeInPath: 'tokenTradeInPath',
  externalIdToken: 'externalIdToken',
  useExternalIdToken: true,
};

AuthenticationApiClient.getApiConfig(configOptions).then((config) => {
  const XxxApi = new XxxApi(config);
  XxxApi.getXxxCollection().then((data) => {});
});

License

This repository is available under the MIT license.

1.6.16

4 months ago

1.6.15

4 months ago

1.6.4

9 months ago

1.6.3

9 months ago

1.6.2

10 months ago

1.6.9

7 months ago

1.6.11

7 months ago

1.6.8

8 months ago

1.6.10

7 months ago

1.6.7

8 months ago

1.6.13

6 months ago

1.6.6

8 months ago

1.6.12

7 months ago

1.6.5

9 months ago

1.6.14

6 months ago

1.6.1

1 year ago

1.6.0

1 year ago