0.2.0 • Published 3 years ago

@ces-sdk/core v0.2.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

Core

npm

Core classes and utilities to be used by most SDK clients.

BaseClient

The BaseClient contains the basic axios interceptors that will handle adding the bearer token header as well as retries.

Credential Providers

The BaseClient needs to have a way to know what bearer token to attach to the Authorization headers for each request.

ClientCredentialProvider

Basic Client Credentials grant type provider that sends a client_id and client_secret to the token endpoint to retrieve a bearer token.

BrowserLocalStorageProvider

Basic provider that retrieves a previously saved access token in the browser's local storage. Use in conjunction with another library like nuxt-auth to manage retrieving the tokens.

0.2.0

3 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago