0.0.39 • Published 10 months ago
@adaas/a-arc v0.0.39
A-ARC SDK
LTS | Latest | npm |
---|---|---|
v1.0.0 | v1.0.1 | @adaas/a-arc |
Table of Contents
Quick Start
Step 1: Install SDK
cd /your/project/location
adf
npm i @adaas/a-account
Step 2: Provide Credentials
You can pass credentials through ENV variable or via code:
BASH
# Mandatory
ADAAS_API_CREDENTIALS_CLIENT_ID=ADAAS--client::769e6cb6597b...YOUR_ID...911f3060c161
ADAAS_API_CREDENTIALS_CLIENT_SECRET=ADAAS--secret::5ca6204b...YOUR_SECRET...e90c00a263f4db
In APPLICATION
const ADAAS_API_CREDENTIALS_CLIENT_ID = process.env.ADAAS_API_CREDENTIALS_CLIENT_ID!;
const ADAAS_API_CREDENTIALS_CLIENT_SECRET = process.env.ADAAS_API_CREDENTIALS_CLIENT_SECRET!
ADAAS_A_AUTH_Context.setCredentials(
ADAAS_API_CREDENTIALS_CLIENT_ID,
ADAAS_API_CREDENTIALS_CLIENT_SECRET
await ADAAS_A_AUTH_Context.authenticate();
Step 4: Start Using
By installing this app into your application then you will be able to access the ADAAS API or ADAAS products API via SSO
Environment Variables
Variable Name | Required | Description |
---|---|---|
ADAAS_API_CREDENTIALS_CLIENT_ID | YES | Your ADAAS API Credentials Key. Not mandatory in case when it's provided through the code |
ADAAS_API_CREDENTIALS_CLIENT_SECRET | YES | Your ADAAS Api Credentials Secret Not mandatory in case when it's provided through the code |
ADAAS_A_AUTH_CONFIG_SDK_VALIDATION | NO | Allows to ignore configurations validation |
ADAAS_A_AUTH_CONFIG_VERBOSE | NO | Allows to turn off extra library logs |
ADAAS_A_AUTH_CONFIG_IGNORE_ERRORS | NO | Allows to ignore error |
Links
0.0.37
10 months ago
0.0.38
10 months ago
0.0.39
10 months ago
0.0.36
11 months ago
0.0.35
11 months ago
0.0.34
11 months ago
0.0.33
11 months ago
0.0.32
11 months ago
0.0.31
11 months ago
0.0.30
11 months ago
0.0.29
11 months ago
0.0.28
11 months ago
0.0.27
11 months ago
0.0.26
11 months ago
0.0.25
11 months ago
0.0.24
11 months ago
0.0.23
11 months ago
0.0.22
12 months ago
0.0.21
12 months ago
0.0.20
12 months ago
0.0.19
12 months ago
0.0.18
12 months ago
0.0.17
12 months ago
0.0.16
12 months ago
0.0.15
12 months ago
0.0.14
12 months ago
0.0.13
12 months ago
0.0.12
12 months ago
0.0.11
12 months ago
0.0.10
12 months ago
0.0.9
12 months ago
0.0.8
12 months ago
0.0.7
12 months ago
0.0.6
12 months ago
0.0.5
12 months ago
0.0.4
12 months ago
0.0.3
12 months ago
0.0.2
12 months ago