@ts-core/oauth 3.1.15 → 3.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,5 +14,5 @@ export declare class KeycloakAuth<T extends KeycloakUser = KeycloakUser> extends
14
14
  export interface IKeycloakAuthSettings {
15
15
  url: string;
16
16
  realm: string;
17
- applicationId: string;
17
+ clientId: string;
18
18
  }
@@ -16,7 +16,7 @@ const KeycloakUser_1 = require("./KeycloakUser");
16
16
  const _ = require("lodash");
17
17
  class KeycloakAuth extends OAuthBase_1.OAuthBase {
18
18
  constructor(logger, settings, window) {
19
- super(logger, settings.applicationId, window);
19
+ super(logger, settings.clientId, window);
20
20
  this._settings = settings;
21
21
  this.params.set('scope', 'openid');
22
22
  this.params.set('state', common_1.RandomUtil.randomString(10));
@@ -14,5 +14,5 @@ export declare class KeycloakAuth<T extends KeycloakUser = KeycloakUser> extends
14
14
  export interface IKeycloakAuthSettings {
15
15
  url: string;
16
16
  realm: string;
17
- applicationId: string;
17
+ clientId: string;
18
18
  }
@@ -13,7 +13,7 @@ import { KeycloakUser } from "./KeycloakUser";
13
13
  import * as _ from 'lodash';
14
14
  export class KeycloakAuth extends OAuthBase {
15
15
  constructor(logger, settings, window) {
16
- super(logger, settings.applicationId, window);
16
+ super(logger, settings.clientId, window);
17
17
  this._settings = settings;
18
18
  this.params.set('scope', 'openid');
19
19
  this.params.set('state', RandomUtil.randomString(10));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ts-core/oauth",
3
- "version": "3.1.15",
3
+ "version": "3.1.16",
4
4
  "description": "Classes and utils for oauth",
5
5
  "main": "./cjs/public-api.js",
6
6
  "module": "./esm/public-api.js",