@genesislcap/foundation-auth 14.107.0-auth-mf.27 → 14.121.0

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.
Files changed (118) hide show
  1. package/README.md +14 -19
  2. package/dist/dts/dto/EVENT_LOGIN_AUTH_NACK.d.ts +1 -0
  3. package/dist/dts/dto/EVENT_LOGIN_AUTH_NACK.d.ts.map +1 -1
  4. package/dist/dts/dto/{IDP.d.ts → IDENTITY_PROVIDER.d.ts} +2 -2
  5. package/dist/dts/dto/IDENTITY_PROVIDER.d.ts.map +1 -0
  6. package/dist/dts/dto/index.d.ts +1 -1
  7. package/dist/dts/dto/index.d.ts.map +1 -1
  8. package/dist/dts/entity/{idp.d.ts → identityProvider.d.ts} +2 -2
  9. package/dist/dts/entity/identityProvider.d.ts.map +1 -0
  10. package/dist/dts/entity/index.d.ts +1 -1
  11. package/dist/dts/entity/index.d.ts.map +1 -1
  12. package/dist/dts/entity/loginNack.d.ts +1 -0
  13. package/dist/dts/entity/loginNack.d.ts.map +1 -1
  14. package/dist/dts/env.d.ts +0 -5
  15. package/dist/dts/env.d.ts.map +1 -1
  16. package/dist/dts/machine/errors.d.ts +2 -2
  17. package/dist/dts/main/main.d.ts +12 -4
  18. package/dist/dts/main/main.d.ts.map +1 -1
  19. package/dist/dts/mapper/loginMapper.d.ts.map +1 -1
  20. package/dist/dts/mapper/utils.d.ts +4 -4
  21. package/dist/dts/mapper/utils.d.ts.map +1 -1
  22. package/dist/dts/routes/base.d.ts +5 -7
  23. package/dist/dts/routes/base.d.ts.map +1 -1
  24. package/dist/dts/routes/forgot-password/forgot-password.d.ts +9 -0
  25. package/dist/dts/routes/forgot-password/forgot-password.d.ts.map +1 -1
  26. package/dist/dts/routes/forgot-password/forgot-password.template.d.ts +4 -0
  27. package/dist/dts/routes/forgot-password/forgot-password.template.d.ts.map +1 -1
  28. package/dist/dts/routes/login/login.d.ts +14 -0
  29. package/dist/dts/routes/login/login.d.ts.map +1 -1
  30. package/dist/dts/routes/login/login.styles.d.ts +4 -0
  31. package/dist/dts/routes/login/login.styles.d.ts.map +1 -1
  32. package/dist/dts/routes/login/login.template.d.ts +4 -0
  33. package/dist/dts/routes/login/login.template.d.ts.map +1 -1
  34. package/dist/dts/routes/logout/logout.d.ts +7 -0
  35. package/dist/dts/routes/logout/logout.d.ts.map +1 -1
  36. package/dist/dts/routes/logout/logout.styles.d.ts +4 -0
  37. package/dist/dts/routes/logout/logout.styles.d.ts.map +1 -1
  38. package/dist/dts/routes/logout/logout.template.d.ts +4 -0
  39. package/dist/dts/routes/logout/logout.template.d.ts.map +1 -1
  40. package/dist/dts/routes/not-found/not-found.d.ts +4 -0
  41. package/dist/dts/routes/not-found/not-found.d.ts.map +1 -1
  42. package/dist/dts/routes/protected/protected.d.ts +5 -0
  43. package/dist/dts/routes/protected/protected.d.ts.map +1 -1
  44. package/dist/dts/routes/protected/protected.template.d.ts +4 -0
  45. package/dist/dts/routes/protected/protected.template.d.ts.map +1 -1
  46. package/dist/dts/routes/request-account/request-account.d.ts +11 -0
  47. package/dist/dts/routes/request-account/request-account.d.ts.map +1 -1
  48. package/dist/dts/routes/request-account/request-account.template.d.ts +4 -0
  49. package/dist/dts/routes/request-account/request-account.template.d.ts.map +1 -1
  50. package/dist/dts/routes/reset-password/reset-password.d.ts +13 -0
  51. package/dist/dts/routes/reset-password/reset-password.d.ts.map +1 -1
  52. package/dist/dts/routes/reset-password/reset-password.template.d.ts +4 -0
  53. package/dist/dts/routes/reset-password/reset-password.template.d.ts.map +1 -1
  54. package/dist/dts/routes/verify/verify.d.ts +4 -0
  55. package/dist/dts/routes/verify/verify.d.ts.map +1 -1
  56. package/dist/dts/routes/verify/verify.template.d.ts +4 -0
  57. package/dist/dts/routes/verify/verify.template.d.ts.map +1 -1
  58. package/dist/dts/services/idp.d.ts +6 -6
  59. package/dist/dts/services/idp.d.ts.map +1 -1
  60. package/dist/dts/store/authFormEntry.d.ts +6 -6
  61. package/dist/dts/store/authFormEntry.d.ts.map +1 -1
  62. package/dist/esm/entity/index.js +1 -1
  63. package/dist/esm/env.js +54 -95
  64. package/dist/esm/machine/errors.js +2 -2
  65. package/dist/esm/main/main.js +11 -0
  66. package/dist/esm/mapper/loginMapper.js +1 -1
  67. package/dist/esm/mapper/utils.js +1 -1
  68. package/dist/esm/routes/base.js +8 -8
  69. package/dist/esm/routes/forgot-password/forgot-password.js +9 -0
  70. package/dist/esm/routes/forgot-password/forgot-password.template.js +4 -0
  71. package/dist/esm/routes/login/login.js +14 -0
  72. package/dist/esm/routes/login/login.styles.js +4 -0
  73. package/dist/esm/routes/login/login.template.js +4 -0
  74. package/dist/esm/routes/logout/logout.js +7 -0
  75. package/dist/esm/routes/logout/logout.styles.js +4 -0
  76. package/dist/esm/routes/logout/logout.template.js +4 -0
  77. package/dist/esm/routes/not-found/not-found.js +4 -0
  78. package/dist/esm/routes/protected/protected.js +9 -2
  79. package/dist/esm/routes/protected/protected.template.js +16 -2
  80. package/dist/esm/routes/request-account/request-account.js +11 -0
  81. package/dist/esm/routes/request-account/request-account.template.js +4 -0
  82. package/dist/esm/routes/reset-password/reset-password.js +13 -0
  83. package/dist/esm/routes/reset-password/reset-password.template.js +4 -0
  84. package/dist/esm/routes/verify/verify.js +4 -0
  85. package/dist/esm/routes/verify/verify.template.js +4 -0
  86. package/dist/esm/services/idp.js +2 -2
  87. package/dist/esm/store/authFormEntry.js +22 -1
  88. package/dist/foundation-auth.api.json +107 -64
  89. package/dist/foundation-auth.d.ts +26 -21
  90. package/docs/api/foundation-auth.authformentrystore.idps.md +1 -1
  91. package/docs/api/foundation-auth.authformentrystore.md +2 -2
  92. package/docs/api/foundation-auth.authformentrystore.selectedidp.md +1 -1
  93. package/docs/api/foundation-auth.defaultauthformentrystore.idps.md +1 -1
  94. package/docs/api/foundation-auth.defaultauthformentrystore.md +2 -2
  95. package/docs/api/foundation-auth.defaultauthformentrystore.selectedidp.md +1 -1
  96. package/docs/api/foundation-auth.event_login_auth_nack.md +1 -0
  97. package/docs/api/foundation-auth.event_login_auth_nack.refresh_token_expiration_mins.md +11 -0
  98. package/docs/api/foundation-auth.fromidpdto.md +1 -1
  99. package/docs/api/{foundation-auth.idp.description.md → foundation-auth.identity_provider.description.md} +2 -2
  100. package/docs/api/{foundation-auth.idp.id.md → foundation-auth.identity_provider.id.md} +2 -2
  101. package/docs/api/foundation-auth.identity_provider.md +21 -0
  102. package/docs/api/{foundation-auth.idp.type.md → foundation-auth.identity_provider.type.md} +2 -2
  103. package/docs/api/foundation-auth.identityprovider.description.md +11 -0
  104. package/docs/api/foundation-auth.identityprovider.id.md +11 -0
  105. package/docs/api/foundation-auth.identityprovider.md +21 -0
  106. package/docs/api/foundation-auth.identityprovider.type.md +11 -0
  107. package/docs/api/foundation-auth.loginnack.md +1 -0
  108. package/docs/api/foundation-auth.loginnack.refreshtokenexpirationmins.md +11 -0
  109. package/docs/api/foundation-auth.md +2 -3
  110. package/docs/api-report.md +13 -10
  111. package/package.json +16 -15
  112. package/test/README.md +2 -0
  113. package/dist/dts/dto/IDP.d.ts.map +0 -1
  114. package/dist/dts/entity/idp.d.ts.map +0 -1
  115. package/docs/api/foundation-auth.idp.md +0 -21
  116. package/docs/api/foundation-auth.socket_url.md +0 -12
  117. /package/dist/esm/dto/{IDP.js → IDENTITY_PROVIDER.js} +0 -0
  118. /package/dist/esm/entity/{idp.js → identityProvider.js} +0 -0
@@ -20,14 +20,14 @@ export interface AuthFormEntryStore extends Store
20
20
  | [autofilling](./foundation-auth.authformentrystore.autofilling.md) | <code>readonly</code> | boolean | |
21
21
  | [email](./foundation-auth.authformentrystore.email.md) | <code>readonly</code> | string | |
22
22
  | [hasPasswordExpired](./foundation-auth.authformentrystore.haspasswordexpired.md) | <code>readonly</code> | boolean | |
23
- | [idps](./foundation-auth.authformentrystore.idps.md) | <code>readonly</code> | [Idp](./foundation-auth.idp.md)<!-- -->\[\] | |
23
+ | [idps](./foundation-auth.authformentrystore.idps.md) | <code>readonly</code> | [IdentityProvider](./foundation-auth.identityprovider.md)<!-- -->\[\] | |
24
24
  | [mfaCode](./foundation-auth.authformentrystore.mfacode.md) | <code>readonly</code> | string | |
25
25
  | [organisation](./foundation-auth.authformentrystore.organisation.md) | <code>readonly</code> | string | |
26
26
  | [orgUsername](./foundation-auth.authformentrystore.orgusername.md) | <code>readonly</code> | string | |
27
27
  | [password](./foundation-auth.authformentrystore.password.md) | <code>readonly</code> | string | |
28
28
  | [password2](./foundation-auth.authformentrystore.password2.md) | <code>readonly</code> | string | |
29
29
  | [passwordResetToken](./foundation-auth.authformentrystore.passwordresettoken.md) | <code>readonly</code> | string | |
30
- | [selectedIdp](./foundation-auth.authformentrystore.selectedidp.md) | <code>readonly</code> | [Idp](./foundation-auth.idp.md) | |
30
+ | [selectedIdp](./foundation-auth.authformentrystore.selectedidp.md) | <code>readonly</code> | [IdentityProvider](./foundation-auth.identityprovider.md) | |
31
31
  | [showPasswords](./foundation-auth.authformentrystore.showpasswords.md) | <code>readonly</code> | boolean | |
32
32
  | [ssoLoginUrl](./foundation-auth.authformentrystore.ssologinurl.md) | <code>readonly</code> | string | |
33
33
  | [ssoToggled](./foundation-auth.authformentrystore.ssotoggled.md) | <code>readonly</code> | boolean | |
@@ -7,5 +7,5 @@
7
7
  **Signature:**
8
8
 
9
9
  ```typescript
10
- readonly selectedIdp: Idp;
10
+ readonly selectedIdp: IdentityProvider;
11
11
  ```
@@ -8,5 +8,5 @@
8
8
  **Signature:**
9
9
 
10
10
  ```typescript
11
- idps: Idp[];
11
+ idps: IdentityProvider[];
12
12
  ```
@@ -30,7 +30,7 @@ export declare class DefaultAuthFormEntryStore extends AbstractStore<AuthFormEnt
30
30
  | [credentialManager](./foundation-auth.defaultauthformentrystore.credentialmanager.md) | <code>protected</code> | [CredentialManager](./foundation-auth.credentialmanager.md) | |
31
31
  | [email](./foundation-auth.defaultauthformentrystore.email.md) | | string | |
32
32
  | [hasPasswordExpired](./foundation-auth.defaultauthformentrystore.haspasswordexpired.md) | | boolean | |
33
- | [idps](./foundation-auth.defaultauthformentrystore.idps.md) | | [Idp](./foundation-auth.idp.md)<!-- -->\[\] | |
33
+ | [idps](./foundation-auth.defaultauthformentrystore.idps.md) | | [IdentityProvider](./foundation-auth.identityprovider.md)<!-- -->\[\] | |
34
34
  | [idpService](./foundation-auth.defaultauthformentrystore.idpservice.md) | <code>readonly</code> | IDPService | |
35
35
  | [mfaCode](./foundation-auth.defaultauthformentrystore.mfacode.md) | | string | |
36
36
  | [onAutofillForm](./foundation-auth.defaultauthformentrystore.onautofillform.md) | | EventListener | |
@@ -47,7 +47,7 @@ export declare class DefaultAuthFormEntryStore extends AbstractStore<AuthFormEnt
47
47
  | [password](./foundation-auth.defaultauthformentrystore.password.md) | | string | |
48
48
  | [password2](./foundation-auth.defaultauthformentrystore.password2.md) | | string | |
49
49
  | [passwordResetToken](./foundation-auth.defaultauthformentrystore.passwordresettoken.md) | | string | |
50
- | [selectedIdp](./foundation-auth.defaultauthformentrystore.selectedidp.md) | | [Idp](./foundation-auth.idp.md) | |
50
+ | [selectedIdp](./foundation-auth.defaultauthformentrystore.selectedidp.md) | | [IdentityProvider](./foundation-auth.identityprovider.md) | |
51
51
  | [showPasswords](./foundation-auth.defaultauthformentrystore.showpasswords.md) | | boolean | |
52
52
  | [ssoLoginUrl](./foundation-auth.defaultauthformentrystore.ssologinurl.md) | <code>readonly</code> | string | |
53
53
  | [ssoToggled](./foundation-auth.defaultauthformentrystore.ssotoggled.md) | | boolean | |
@@ -8,5 +8,5 @@
8
8
  **Signature:**
9
9
 
10
10
  ```typescript
11
- selectedIdp: Idp;
11
+ selectedIdp: IdentityProvider;
12
12
  ```
@@ -17,4 +17,5 @@ export interface EVENT_LOGIN_AUTH_NACK extends NACK
17
17
  | Property | Modifiers | Type | Description |
18
18
  | --- | --- | --- | --- |
19
19
  | [REFRESH\_AUTH\_TOKEN](./foundation-auth.event_login_auth_nack.refresh_auth_token.md) | <code>readonly</code> | string | A refresh token may be returned in a NACK on MFA\_REQUIRED or similar. |
20
+ | [REFRESH\_TOKEN\_EXPIRATION\_MINS](./foundation-auth.event_login_auth_nack.refresh_token_expiration_mins.md) | <code>readonly</code> | number | |
20
21
 
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-auth](./foundation-auth.md) &gt; [EVENT\_LOGIN\_AUTH\_NACK](./foundation-auth.event_login_auth_nack.md) &gt; [REFRESH\_TOKEN\_EXPIRATION\_MINS](./foundation-auth.event_login_auth_nack.refresh_token_expiration_mins.md)
4
+
5
+ ## EVENT\_LOGIN\_AUTH\_NACK.REFRESH\_TOKEN\_EXPIRATION\_MINS property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ readonly REFRESH_TOKEN_EXPIRATION_MINS: number;
11
+ ```
@@ -9,5 +9,5 @@ fromIDPDTO
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- fromIDPDTO: (dto: IDP) => Idp
12
+ fromIDPDTO: (dto: IDENTITY_PROVIDER) => IdentityProvider
13
13
  ```
@@ -1,8 +1,8 @@
1
1
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
2
 
3
- [Home](./index.md) &gt; [@genesislcap/foundation-auth](./foundation-auth.md) &gt; [IDP](./foundation-auth.idp.md) &gt; [DESCRIPTION](./foundation-auth.idp.description.md)
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-auth](./foundation-auth.md) &gt; [IDENTITY\_PROVIDER](./foundation-auth.identity_provider.md) &gt; [DESCRIPTION](./foundation-auth.identity_provider.description.md)
4
4
 
5
- ## IDP.DESCRIPTION property
5
+ ## IDENTITY\_PROVIDER.DESCRIPTION property
6
6
 
7
7
  **Signature:**
8
8
 
@@ -1,8 +1,8 @@
1
1
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
2
 
3
- [Home](./index.md) &gt; [@genesislcap/foundation-auth](./foundation-auth.md) &gt; [IDP](./foundation-auth.idp.md) &gt; [ID](./foundation-auth.idp.id.md)
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-auth](./foundation-auth.md) &gt; [IDENTITY\_PROVIDER](./foundation-auth.identity_provider.md) &gt; [ID](./foundation-auth.identity_provider.id.md)
4
4
 
5
- ## IDP.ID property
5
+ ## IDENTITY\_PROVIDER.ID property
6
6
 
7
7
  **Signature:**
8
8
 
@@ -0,0 +1,21 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-auth](./foundation-auth.md) &gt; [IDENTITY\_PROVIDER](./foundation-auth.identity_provider.md)
4
+
5
+ ## IDENTITY\_PROVIDER interface
6
+
7
+
8
+ **Signature:**
9
+
10
+ ```typescript
11
+ export interface IDENTITY_PROVIDER
12
+ ```
13
+
14
+ ## Properties
15
+
16
+ | Property | Modifiers | Type | Description |
17
+ | --- | --- | --- | --- |
18
+ | [DESCRIPTION](./foundation-auth.identity_provider.description.md) | <code>readonly</code> | string | |
19
+ | [ID](./foundation-auth.identity_provider.id.md) | <code>readonly</code> | string | |
20
+ | [TYPE](./foundation-auth.identity_provider.type.md) | <code>readonly</code> | string | |
21
+
@@ -1,8 +1,8 @@
1
1
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
2
 
3
- [Home](./index.md) &gt; [@genesislcap/foundation-auth](./foundation-auth.md) &gt; [IDP](./foundation-auth.idp.md) &gt; [TYPE](./foundation-auth.idp.type.md)
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-auth](./foundation-auth.md) &gt; [IDENTITY\_PROVIDER](./foundation-auth.identity_provider.md) &gt; [TYPE](./foundation-auth.identity_provider.type.md)
4
4
 
5
- ## IDP.TYPE property
5
+ ## IDENTITY\_PROVIDER.TYPE property
6
6
 
7
7
  **Signature:**
8
8
 
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-auth](./foundation-auth.md) &gt; [IdentityProvider](./foundation-auth.identityprovider.md) &gt; [description](./foundation-auth.identityprovider.description.md)
4
+
5
+ ## IdentityProvider.description property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ readonly description: string;
11
+ ```
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-auth](./foundation-auth.md) &gt; [IdentityProvider](./foundation-auth.identityprovider.md) &gt; [id](./foundation-auth.identityprovider.id.md)
4
+
5
+ ## IdentityProvider.id property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ readonly id: string;
11
+ ```
@@ -0,0 +1,21 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-auth](./foundation-auth.md) &gt; [IdentityProvider](./foundation-auth.identityprovider.md)
4
+
5
+ ## IdentityProvider interface
6
+
7
+
8
+ **Signature:**
9
+
10
+ ```typescript
11
+ export interface IdentityProvider
12
+ ```
13
+
14
+ ## Properties
15
+
16
+ | Property | Modifiers | Type | Description |
17
+ | --- | --- | --- | --- |
18
+ | [description](./foundation-auth.identityprovider.description.md) | <code>readonly</code> | string | |
19
+ | [id](./foundation-auth.identityprovider.id.md) | <code>readonly</code> | string | |
20
+ | [type](./foundation-auth.identityprovider.type.md) | <code>readonly</code> | string | |
21
+
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-auth](./foundation-auth.md) &gt; [IdentityProvider](./foundation-auth.identityprovider.md) &gt; [type](./foundation-auth.identityprovider.type.md)
4
+
5
+ ## IdentityProvider.type property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ readonly type: string;
11
+ ```
@@ -21,4 +21,5 @@ export interface LoginNack extends Nack
21
21
  | [isMFARequired](./foundation-auth.loginnack.ismfarequired.md) | <code>readonly</code> | boolean | |
22
22
  | [maxTriesReached](./foundation-auth.loginnack.maxtriesreached.md) | <code>readonly</code> | boolean | |
23
23
  | [refreshAuthToken](./foundation-auth.loginnack.refreshauthtoken.md) | <code>readonly</code> | string | |
24
+ | [refreshTokenExpirationMins](./foundation-auth.loginnack.refreshtokenexpirationmins.md) | <code>readonly</code> | number | |
24
25
 
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-auth](./foundation-auth.md) &gt; [LoginNack](./foundation-auth.loginnack.md) &gt; [refreshTokenExpirationMins](./foundation-auth.loginnack.refreshtokenexpirationmins.md)
4
+
5
+ ## LoginNack.refreshTokenExpirationMins property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ readonly refreshTokenExpirationMins: number;
11
+ ```
@@ -77,8 +77,8 @@
77
77
  | [EVENT\_LOGOUT\_NACK](./foundation-auth.event_logout_nack.md) | |
78
78
  | [EVENT\_PASSWORD\_RESET\_ACTION](./foundation-auth.event_password_reset_action.md) | |
79
79
  | [EVENT\_SELF\_SERVICE\_PASSWORD\_RESET](./foundation-auth.event_self_service_password_reset.md) | |
80
- | [Idp](./foundation-auth.idp.md) | |
81
- | [IDP](./foundation-auth.idp.md) | |
80
+ | [IDENTITY\_PROVIDER](./foundation-auth.identity_provider.md) | |
81
+ | [IdentityProvider](./foundation-auth.identityprovider.md) | |
82
82
  | [LoginAck](./foundation-auth.loginack.md) | |
83
83
  | [LoginDetailsAck](./foundation-auth.logindetailsack.md) | |
84
84
  | [LoginMapper](./foundation-auth.loginmapper.md) | LoginMapper interface. |
@@ -125,7 +125,6 @@
125
125
  | [LOGOUT\_URL](./foundation-auth.logout_url.md) | |
126
126
  | [RESET\_PASSWORD\_URL](./foundation-auth.reset_password_url.md) | |
127
127
  | [setError](./foundation-auth.seterror.md) | Set error action. |
128
- | [SOCKET\_URL](./foundation-auth.socket_url.md) | |
129
128
  | [SSO\_LIST\_URL](./foundation-auth.sso_list_url.md) | |
130
129
  | [SSO\_LOGIN\_URL](./foundation-auth.sso_login_url.md) | |
131
130
  | [styles](./foundation-auth.styles.md) | |
@@ -125,7 +125,7 @@ export interface AuthFormEntryStore extends Store {
125
125
  // (undocumented)
126
126
  readonly hasPasswordExpired: boolean;
127
127
  // (undocumented)
128
- readonly idps: Idp[];
128
+ readonly idps: IdentityProvider[];
129
129
  // (undocumented)
130
130
  readonly mfaCode: string;
131
131
  // (undocumented)
@@ -157,7 +157,7 @@ export interface AuthFormEntryStore extends Store {
157
157
  // (undocumented)
158
158
  readonly passwordResetToken: string;
159
159
  // (undocumented)
160
- readonly selectedIdp: Idp;
160
+ readonly selectedIdp: IdentityProvider;
161
161
  // (undocumented)
162
162
  readonly showPasswords: boolean;
163
163
  // (undocumented)
@@ -428,7 +428,7 @@ export class DefaultAuthFormEntryStore extends AbstractStore<AuthFormEntryStore,
428
428
  // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "AuthFormEntryStore" has more than one declaration; you need to add a TSDoc member reference selector
429
429
  //
430
430
  // (undocumented)
431
- idps: Idp[];
431
+ idps: IdentityProvider[];
432
432
  // Warning: (ae-forgotten-export) The symbol "IDPService" needs to be exported by the entry point index.d.ts
433
433
  //
434
434
  // (undocumented)
@@ -498,7 +498,7 @@ export class DefaultAuthFormEntryStore extends AbstractStore<AuthFormEntryStore,
498
498
  // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "AuthFormEntryStore" has more than one declaration; you need to add a TSDoc member reference selector
499
499
  //
500
500
  // (undocumented)
501
- selectedIdp: Idp;
501
+ selectedIdp: IdentityProvider;
502
502
  // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "AuthFormEntryStore" has more than one declaration; you need to add a TSDoc member reference selector
503
503
  //
504
504
  // (undocumented)
@@ -887,6 +887,8 @@ export interface EVENT_LOGIN_AUTH_ACK extends ACK {
887
887
  // @public (undocumented)
888
888
  export interface EVENT_LOGIN_AUTH_NACK extends NACK {
889
889
  readonly REFRESH_AUTH_TOKEN: string;
890
+ // (undocumented)
891
+ readonly REFRESH_TOKEN_EXPIRATION_MINS: number;
890
892
  }
891
893
 
892
894
  // @public (undocumented)
@@ -974,6 +976,8 @@ export class FoundationAuth extends FoundationAuth_base {
974
976
  // @internal (undocumented)
975
977
  disconnectedCallback(): void;
976
978
  // @internal (undocumented)
979
+ protected disconnectStore(): void;
980
+ // @internal (undocumented)
977
981
  get isReady(): boolean;
978
982
  // @internal (undocumented)
979
983
  protected machineBinding: BindingObserver;
@@ -1005,7 +1009,7 @@ export const fromDTONack: (dto: NACK) => Nack;
1005
1009
  export const fromDTOStringArray: (arr: string[]) => string[];
1006
1010
 
1007
1011
  // @public
1008
- export const fromIDPDTO: (dto: IDP) => Idp;
1012
+ export const fromIDPDTO: (dto: IDENTITY_PROVIDER) => IdentityProvider;
1009
1013
 
1010
1014
  // @public
1011
1015
  export type GetCredentialOptions = CredentialRequestOptions & {};
@@ -1027,7 +1031,7 @@ export function getUser(): User;
1027
1031
  export const hasDTOErrorWarningCode: (dto: NACK, code: string) => boolean;
1028
1032
 
1029
1033
  // @public (undocumented)
1030
- export interface IDP {
1034
+ export interface IDENTITY_PROVIDER {
1031
1035
  // (undocumented)
1032
1036
  readonly DESCRIPTION: string;
1033
1037
  // (undocumented)
@@ -1037,7 +1041,7 @@ export interface IDP {
1037
1041
  }
1038
1042
 
1039
1043
  // @public (undocumented)
1040
- export interface Idp {
1044
+ export interface IdentityProvider {
1041
1045
  // (undocumented)
1042
1046
  readonly description: string;
1043
1047
  // (undocumented)
@@ -1188,6 +1192,8 @@ export interface LoginNack extends Nack {
1188
1192
  readonly maxTriesReached: boolean;
1189
1193
  // (undocumented)
1190
1194
  readonly refreshAuthToken: string;
1195
+ // (undocumented)
1196
+ readonly refreshTokenExpirationMins: number;
1191
1197
  }
1192
1198
 
1193
1199
  // @public (undocumented)
@@ -1427,9 +1433,6 @@ export type Settings = {
1427
1433
  public?: boolean;
1428
1434
  };
1429
1435
 
1430
- // @public (undocumented)
1431
- export let SOCKET_URL: string;
1432
-
1433
1436
  // @public (undocumented)
1434
1437
  export let SSO_LIST_URL: string;
1435
1438
 
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-auth",
3
3
  "description": "Genesis Foundation Auth",
4
- "version": "14.107.0-auth-mf.27",
4
+ "version": "14.121.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/foundation-auth.d.ts",
8
8
  "config": {
9
+ "API_HOST": "wss://public-foundation-hardened1/gwf/",
9
10
  "PORT": 5030
10
11
  },
11
12
  "genx": {
@@ -73,10 +74,10 @@
73
74
  "build:webpack:stats": "genx analyze",
74
75
  "circular": "npx -y madge --extensions ts --circular ./src",
75
76
  "clean": "rimraf dist tsconfig.tsbuildinfo",
76
- "dev": "genx dev -b webpack",
77
- "dev:no-open": "genx dev --no-open -b webpack",
77
+ "dev": "genx dev -e API_HOST -b webpack",
78
+ "dev:no-open": "genx dev -e API_HOST --no-open -b webpack",
78
79
  "dev:withVars": "genx run dev:https foundation-auth",
79
- "dev:https": "genx dev --https -b webpack",
80
+ "dev:https": "genx dev -e API_HOST --https -b webpack",
80
81
  "dev:tsc": "genx dev -b ts",
81
82
  "serve": "genx serve",
82
83
  "test": "genx test",
@@ -98,19 +99,19 @@
98
99
  }
99
100
  },
100
101
  "devDependencies": {
101
- "@genesislcap/foundation-testing": "14.107.0-auth-mf.27",
102
- "@genesislcap/genx": "14.107.0-auth-mf.27",
102
+ "@genesislcap/foundation-testing": "14.121.0",
103
+ "@genesislcap/genx": "14.121.0",
103
104
  "rimraf": "^3.0.2"
104
105
  },
105
106
  "dependencies": {
106
- "@genesislcap/foundation-comms": "14.107.0-auth-mf.27",
107
- "@genesislcap/foundation-events": "14.107.0-auth-mf.27",
108
- "@genesislcap/foundation-logger": "14.107.0-auth-mf.27",
109
- "@genesislcap/foundation-state-machine": "14.107.0-auth-mf.27",
110
- "@genesislcap/foundation-store": "14.107.0-auth-mf.27",
111
- "@genesislcap/foundation-ui": "14.107.0-auth-mf.27",
112
- "@genesislcap/foundation-utils": "14.107.0-auth-mf.27",
113
- "@genesislcap/foundation-zero": "14.107.0-auth-mf.27",
107
+ "@genesislcap/foundation-comms": "14.121.0",
108
+ "@genesislcap/foundation-events": "14.121.0",
109
+ "@genesislcap/foundation-logger": "14.121.0",
110
+ "@genesislcap/foundation-state-machine": "14.121.0",
111
+ "@genesislcap/foundation-store": "14.121.0",
112
+ "@genesislcap/foundation-ui": "14.121.0",
113
+ "@genesislcap/foundation-utils": "14.121.0",
114
+ "@genesislcap/foundation-zero": "14.121.0",
114
115
  "@microsoft/fast-components": "^2.21.3",
115
116
  "@microsoft/fast-element": "^1.7.0",
116
117
  "@microsoft/fast-foundation": "^2.33.2",
@@ -130,5 +131,5 @@
130
131
  "publishConfig": {
131
132
  "access": "public"
132
133
  },
133
- "gitHead": "21df39671e95013d3a3822cd087e7bd5aa3a228a"
134
+ "gitHead": "a5a9cb1994ea71cb390b2eea7ece0fab419bb71e"
134
135
  }
package/test/README.md CHANGED
@@ -1,3 +1,5 @@
1
1
  # Test
2
2
 
3
+ Duplicate of foundation-login's test dir with some tweaks. Needs to be built out.
4
+
3
5
  See [@genesislcap/foundation-testing](../foundation-testing/README.md) for more information.
@@ -1 +0,0 @@
1
- {"version":3,"file":"IDP.d.ts","sourceRoot":"","sources":["../../../src/dto/IDP.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,GAAG;IAClB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"idp.d.ts","sourceRoot":"","sources":["../../../src/entity/idp.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,GAAG;IAClB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B"}
@@ -1,21 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-auth](./foundation-auth.md) &gt; [IDP](./foundation-auth.idp.md)
4
-
5
- ## IDP interface
6
-
7
-
8
- **Signature:**
9
-
10
- ```typescript
11
- export interface IDP
12
- ```
13
-
14
- ## Properties
15
-
16
- | Property | Modifiers | Type | Description |
17
- | --- | --- | --- | --- |
18
- | [DESCRIPTION](./foundation-auth.idp.description.md) | <code>readonly</code> | string | |
19
- | [ID](./foundation-auth.idp.id.md) | <code>readonly</code> | string | |
20
- | [TYPE](./foundation-auth.idp.type.md) | <code>readonly</code> | string | |
21
-
@@ -1,12 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-auth](./foundation-auth.md) &gt; [SOCKET\_URL](./foundation-auth.socket_url.md)
4
-
5
- ## SOCKET\_URL variable
6
-
7
-
8
- **Signature:**
9
-
10
- ```typescript
11
- SOCKET_URL: string
12
- ```
File without changes
File without changes