@qlik/embed-runtime
Advanced tools
Comparing version 0.6.4 to 0.7.0
@@ -39,2 +39,23 @@ /* -------------------------------------------------------------------------- */ | ||
scope?: string; | ||
/** | ||
* A custom function that can be used on the client side to fetch an oauth access token from a custom backend. | ||
* Typically used in oauth impersonation. | ||
*/ | ||
getAccessToken?: string | (() => Promise<string>); | ||
/** | ||
* If set to true no caching or storing of the access token is done. | ||
* This is typically used on the serverside with impersonation so that a client always gets a fresh token. | ||
* Caching is in that case handled on the client side. | ||
*/ | ||
noCache?: boolean; | ||
/** | ||
* Can be used on the serverside to impersonate a specific user when authenticating using a client secret. | ||
* Typically used together with the `noCache` since caching is done on the browser side. | ||
*/ | ||
subject?: string; | ||
/** | ||
* Can be used on the serverside to impersonate a specific user when authenticating using a client secret. | ||
* Typically used together with the `noCache` since caching is done on the browser side. | ||
*/ | ||
userId?: string; | ||
}; | ||
@@ -41,0 +62,0 @@ |
{ | ||
"name": "@qlik/embed-runtime", | ||
"version": "0.6.4", | ||
"version": "0.7.0", | ||
"description": "Types for Qlik Embed libraries", | ||
@@ -63,7 +63,7 @@ "license": "ISC", | ||
"devDependencies": { | ||
"@qlik/eslint-config": "0.7.4", | ||
"@qlik/prettier-config": "0.4.7", | ||
"@qlik/tsconfig": "0.2.3", | ||
"eslint": "8.56.0", | ||
"prettier": "3.2.4", | ||
"@qlik/eslint-config": "0.7.10", | ||
"@qlik/prettier-config": "0.4.9", | ||
"@qlik/tsconfig": "0.2.4", | ||
"eslint": "8.57.0", | ||
"prettier": "3.2.5", | ||
"rimraf": "5.0.5", | ||
@@ -70,0 +70,0 @@ "typescript": "5.3.3" |
22159
553