camunda-saas-oauth
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -1,15 +0,13 @@ | ||
import { Token, OAuthProviderConfig } from '../index'; | ||
declare type TokenGrantAudiences = 'OPERATE' | 'ZEEBE' | 'OPTIMIZE' | 'TASKLIST'; | ||
import { OAuthProviderConfig } from '../index'; | ||
declare type TokenGrantAudiences = 'OPERATE' | 'ZEEBE' | 'OPTIMIZE' | 'TASKLIST' | 'CONSOLE'; | ||
export declare class OAuthProviderImpl { | ||
private static readonly defaultTokenCache; | ||
private static readonly getTokenCacheDirFromEnv; | ||
cacheDir: string; | ||
zeebeAudience: string; | ||
authServerUrl: string; | ||
clientId: string; | ||
clientSecret: string; | ||
useFileCache: boolean; | ||
tokenCache: { | ||
[key: string]: Token; | ||
}; | ||
private cacheDir; | ||
private zeebeAudience; | ||
private authServerUrl; | ||
private clientId; | ||
private clientSecret; | ||
private useFileCache; | ||
private tokenCache; | ||
private failed; | ||
@@ -16,0 +14,0 @@ private failureCount; |
@@ -191,3 +191,4 @@ "use strict"; | ||
OPTIMIZE: 'optimize.camunda.io', | ||
TASKLIST: 'tasklist.camunda.io' | ||
TASKLIST: 'tasklist.camunda.io', | ||
CONSOLE: 'api.cloud.camunda.io' | ||
}; | ||
@@ -194,0 +195,0 @@ return audiences[audience]; |
{ | ||
"name": "camunda-saas-oauth", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A library to exchange a set of Camunda 8 SaaS API credentials for a token", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
26275
313