@omnia/fx-models 8.0.92-dev → 8.0.93-dev

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.
@@ -1,4 +1,5 @@
1
1
  import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
2
+ import { UserCredentialInfo } from "./UserCredentialInfo";
2
3
  import { AuthenticationMetaData } from "./common";
3
4
  export declare class PasswordAuthData implements AuthenticationMetaData {
4
5
  omniaServiceId: GuidValue;
@@ -6,7 +7,3 @@ export declare class PasswordAuthData implements AuthenticationMetaData {
6
7
  userCredentialInfo: UserCredentialInfo;
7
8
  constructor();
8
9
  }
9
- export interface UserCredentialInfo {
10
- userName: string;
11
- password: string;
12
- }
@@ -1,4 +1,5 @@
1
1
  import { AuthenticationOption } from "./common";
2
2
  export interface PasswordAuthOption extends AuthenticationOption {
3
3
  maximumNumberOfRetires: number;
4
+ forceUserChangePassword: boolean;
4
5
  }
@@ -0,0 +1,10 @@
1
+ import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
2
+ import { UserCredentialInfo } from "./UserCredentialInfo";
3
+ import { AuthenticationMetaData } from "./common";
4
+ export declare class PostProcessingAuthData implements AuthenticationMetaData {
5
+ omniaServiceId: GuidValue;
6
+ authenticationTypeId: GuidValue;
7
+ userCredentialInfo: UserCredentialInfo;
8
+ newPassword?: string;
9
+ constructor();
10
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PostProcessingAuthData = void 0;
4
+ const models_1 = require("@omnia/fx-models/internal-do-not-import-from-here/shared/models");
5
+ class PostProcessingAuthData {
6
+ constructor() {
7
+ this.omniaServiceId = new models_1.Guid("bb000000-0000-bbbb-0000-0000000000bb");
8
+ this.authenticationTypeId = new models_1.Guid("023d9174-ae05-4983-8024-277569c49b41");
9
+ }
10
+ }
11
+ exports.PostProcessingAuthData = PostProcessingAuthData;
@@ -0,0 +1,4 @@
1
+ import { AuthenticationOption } from "./common";
2
+ export interface PostProcessingAuthOption extends AuthenticationOption {
3
+ maximumNumberOfRetires: number;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { AuthenticationResult } from "./common";
2
+ export interface PostProcessingAuthResult extends AuthenticationResult {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface UserCredentialInfo {
2
+ userName: string;
3
+ password: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/auth/index.d.ts CHANGED
@@ -10,3 +10,7 @@ export * from "./PasswordAuthResult";
10
10
  export * from "./PasswordAuthOption";
11
11
  export * from "./AnonymousAccessType";
12
12
  export * from "./LoginProvider";
13
+ export * from "./PostProcessingAuthData";
14
+ export * from "./PostProcessingAuthOption";
15
+ export * from "./PostProcessingAuthResult";
16
+ export * from "./UserCredentialInfo";
package/auth/index.js CHANGED
@@ -13,3 +13,7 @@ tslib_1.__exportStar(require("./PasswordAuthResult"), exports);
13
13
  tslib_1.__exportStar(require("./PasswordAuthOption"), exports);
14
14
  tslib_1.__exportStar(require("./AnonymousAccessType"), exports);
15
15
  tslib_1.__exportStar(require("./LoginProvider"), exports);
16
+ tslib_1.__exportStar(require("./PostProcessingAuthData"), exports);
17
+ tslib_1.__exportStar(require("./PostProcessingAuthOption"), exports);
18
+ tslib_1.__exportStar(require("./PostProcessingAuthResult"), exports);
19
+ tslib_1.__exportStar(require("./UserCredentialInfo"), exports);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.92-dev",
4
+ "version": "8.0.93-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"