@omnia/fx-models 8.0.377-dev → 8.0.378-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.
package/Tenant.d.ts CHANGED
@@ -42,7 +42,11 @@ export declare class TenantInfoSettings extends TenantProperty {
42
42
  constructor();
43
43
  }
44
44
  export declare class TenantAuthenticationSettings extends TenantProperty {
45
+ static DefaultOmniaTokenExpiredHours: number;
46
+ static MinOmniaTokenExpiredHours: number;
47
+ static MaxOmniaTokenExpiredHours: number;
45
48
  enableITPCompatibility: boolean;
49
+ omniaTokenExpiredHours: number;
46
50
  constructor();
47
51
  }
48
52
  export declare class TenantTypographyFonts extends TenantProperty {
package/Tenant.js CHANGED
@@ -48,8 +48,12 @@ class TenantInfoSettings extends TenantProperty {
48
48
  }
49
49
  exports.TenantInfoSettings = TenantInfoSettings;
50
50
  class TenantAuthenticationSettings extends TenantProperty {
51
+ static { this.DefaultOmniaTokenExpiredHours = 24; }
52
+ static { this.MinOmniaTokenExpiredHours = 1; }
53
+ static { this.MaxOmniaTokenExpiredHours = 96; }
51
54
  constructor() {
52
55
  super(ManifestIds_1.OmniaService.Id, "tenantauthentication");
56
+ this.omniaTokenExpiredHours = TenantAuthenticationSettings.DefaultOmniaTokenExpiredHours;
53
57
  }
54
58
  }
55
59
  exports.TenantAuthenticationSettings = TenantAuthenticationSettings;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.377-dev",
4
+ "version": "8.0.378-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"