@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.
- package/README.md +14 -19
- package/dist/dts/dto/EVENT_LOGIN_AUTH_NACK.d.ts +1 -0
- package/dist/dts/dto/EVENT_LOGIN_AUTH_NACK.d.ts.map +1 -1
- package/dist/dts/dto/{IDP.d.ts → IDENTITY_PROVIDER.d.ts} +2 -2
- package/dist/dts/dto/IDENTITY_PROVIDER.d.ts.map +1 -0
- package/dist/dts/dto/index.d.ts +1 -1
- package/dist/dts/dto/index.d.ts.map +1 -1
- package/dist/dts/entity/{idp.d.ts → identityProvider.d.ts} +2 -2
- package/dist/dts/entity/identityProvider.d.ts.map +1 -0
- package/dist/dts/entity/index.d.ts +1 -1
- package/dist/dts/entity/index.d.ts.map +1 -1
- package/dist/dts/entity/loginNack.d.ts +1 -0
- package/dist/dts/entity/loginNack.d.ts.map +1 -1
- package/dist/dts/env.d.ts +0 -5
- package/dist/dts/env.d.ts.map +1 -1
- package/dist/dts/machine/errors.d.ts +2 -2
- package/dist/dts/main/main.d.ts +12 -4
- package/dist/dts/main/main.d.ts.map +1 -1
- package/dist/dts/mapper/loginMapper.d.ts.map +1 -1
- package/dist/dts/mapper/utils.d.ts +4 -4
- package/dist/dts/mapper/utils.d.ts.map +1 -1
- package/dist/dts/routes/base.d.ts +5 -7
- package/dist/dts/routes/base.d.ts.map +1 -1
- package/dist/dts/routes/forgot-password/forgot-password.d.ts +9 -0
- package/dist/dts/routes/forgot-password/forgot-password.d.ts.map +1 -1
- package/dist/dts/routes/forgot-password/forgot-password.template.d.ts +4 -0
- package/dist/dts/routes/forgot-password/forgot-password.template.d.ts.map +1 -1
- package/dist/dts/routes/login/login.d.ts +14 -0
- package/dist/dts/routes/login/login.d.ts.map +1 -1
- package/dist/dts/routes/login/login.styles.d.ts +4 -0
- package/dist/dts/routes/login/login.styles.d.ts.map +1 -1
- package/dist/dts/routes/login/login.template.d.ts +4 -0
- package/dist/dts/routes/login/login.template.d.ts.map +1 -1
- package/dist/dts/routes/logout/logout.d.ts +7 -0
- package/dist/dts/routes/logout/logout.d.ts.map +1 -1
- package/dist/dts/routes/logout/logout.styles.d.ts +4 -0
- package/dist/dts/routes/logout/logout.styles.d.ts.map +1 -1
- package/dist/dts/routes/logout/logout.template.d.ts +4 -0
- package/dist/dts/routes/logout/logout.template.d.ts.map +1 -1
- package/dist/dts/routes/not-found/not-found.d.ts +4 -0
- package/dist/dts/routes/not-found/not-found.d.ts.map +1 -1
- package/dist/dts/routes/protected/protected.d.ts +5 -0
- package/dist/dts/routes/protected/protected.d.ts.map +1 -1
- package/dist/dts/routes/protected/protected.template.d.ts +4 -0
- package/dist/dts/routes/protected/protected.template.d.ts.map +1 -1
- package/dist/dts/routes/request-account/request-account.d.ts +11 -0
- package/dist/dts/routes/request-account/request-account.d.ts.map +1 -1
- package/dist/dts/routes/request-account/request-account.template.d.ts +4 -0
- package/dist/dts/routes/request-account/request-account.template.d.ts.map +1 -1
- package/dist/dts/routes/reset-password/reset-password.d.ts +13 -0
- package/dist/dts/routes/reset-password/reset-password.d.ts.map +1 -1
- package/dist/dts/routes/reset-password/reset-password.template.d.ts +4 -0
- package/dist/dts/routes/reset-password/reset-password.template.d.ts.map +1 -1
- package/dist/dts/routes/verify/verify.d.ts +4 -0
- package/dist/dts/routes/verify/verify.d.ts.map +1 -1
- package/dist/dts/routes/verify/verify.template.d.ts +4 -0
- package/dist/dts/routes/verify/verify.template.d.ts.map +1 -1
- package/dist/dts/services/idp.d.ts +6 -6
- package/dist/dts/services/idp.d.ts.map +1 -1
- package/dist/dts/store/authFormEntry.d.ts +6 -6
- package/dist/dts/store/authFormEntry.d.ts.map +1 -1
- package/dist/esm/entity/index.js +1 -1
- package/dist/esm/env.js +54 -95
- package/dist/esm/machine/errors.js +2 -2
- package/dist/esm/main/main.js +11 -0
- package/dist/esm/mapper/loginMapper.js +1 -1
- package/dist/esm/mapper/utils.js +1 -1
- package/dist/esm/routes/base.js +8 -8
- package/dist/esm/routes/forgot-password/forgot-password.js +9 -0
- package/dist/esm/routes/forgot-password/forgot-password.template.js +4 -0
- package/dist/esm/routes/login/login.js +14 -0
- package/dist/esm/routes/login/login.styles.js +4 -0
- package/dist/esm/routes/login/login.template.js +4 -0
- package/dist/esm/routes/logout/logout.js +7 -0
- package/dist/esm/routes/logout/logout.styles.js +4 -0
- package/dist/esm/routes/logout/logout.template.js +4 -0
- package/dist/esm/routes/not-found/not-found.js +4 -0
- package/dist/esm/routes/protected/protected.js +9 -2
- package/dist/esm/routes/protected/protected.template.js +16 -2
- package/dist/esm/routes/request-account/request-account.js +11 -0
- package/dist/esm/routes/request-account/request-account.template.js +4 -0
- package/dist/esm/routes/reset-password/reset-password.js +13 -0
- package/dist/esm/routes/reset-password/reset-password.template.js +4 -0
- package/dist/esm/routes/verify/verify.js +4 -0
- package/dist/esm/routes/verify/verify.template.js +4 -0
- package/dist/esm/services/idp.js +2 -2
- package/dist/esm/store/authFormEntry.js +22 -1
- package/dist/foundation-auth.api.json +107 -64
- package/dist/foundation-auth.d.ts +26 -21
- package/docs/api/foundation-auth.authformentrystore.idps.md +1 -1
- package/docs/api/foundation-auth.authformentrystore.md +2 -2
- package/docs/api/foundation-auth.authformentrystore.selectedidp.md +1 -1
- package/docs/api/foundation-auth.defaultauthformentrystore.idps.md +1 -1
- package/docs/api/foundation-auth.defaultauthformentrystore.md +2 -2
- package/docs/api/foundation-auth.defaultauthformentrystore.selectedidp.md +1 -1
- package/docs/api/foundation-auth.event_login_auth_nack.md +1 -0
- package/docs/api/foundation-auth.event_login_auth_nack.refresh_token_expiration_mins.md +11 -0
- package/docs/api/foundation-auth.fromidpdto.md +1 -1
- package/docs/api/{foundation-auth.idp.description.md → foundation-auth.identity_provider.description.md} +2 -2
- package/docs/api/{foundation-auth.idp.id.md → foundation-auth.identity_provider.id.md} +2 -2
- package/docs/api/foundation-auth.identity_provider.md +21 -0
- package/docs/api/{foundation-auth.idp.type.md → foundation-auth.identity_provider.type.md} +2 -2
- package/docs/api/foundation-auth.identityprovider.description.md +11 -0
- package/docs/api/foundation-auth.identityprovider.id.md +11 -0
- package/docs/api/foundation-auth.identityprovider.md +21 -0
- package/docs/api/foundation-auth.identityprovider.type.md +11 -0
- package/docs/api/foundation-auth.loginnack.md +1 -0
- package/docs/api/foundation-auth.loginnack.refreshtokenexpirationmins.md +11 -0
- package/docs/api/foundation-auth.md +2 -3
- package/docs/api-report.md +13 -10
- package/package.json +16 -15
- package/test/README.md +2 -0
- package/dist/dts/dto/IDP.d.ts.map +0 -1
- package/dist/dts/entity/idp.d.ts.map +0 -1
- package/docs/api/foundation-auth.idp.md +0 -21
- package/docs/api/foundation-auth.socket_url.md +0 -12
- /package/dist/esm/dto/{IDP.js → IDENTITY_PROVIDER.js} +0 -0
- /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> | [
|
|
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> | [
|
|
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 | |
|
|
@@ -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) | | [
|
|
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) | | [
|
|
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 | |
|
|
@@ -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) > [@genesislcap/foundation-auth](./foundation-auth.md) > [EVENT\_LOGIN\_AUTH\_NACK](./foundation-auth.event_login_auth_nack.md) > [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
|
+
```
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
2
|
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [IDENTITY\_PROVIDER](./foundation-auth.identity_provider.md) > [DESCRIPTION](./foundation-auth.identity_provider.description.md)
|
|
4
4
|
|
|
5
|
-
##
|
|
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) > [@genesislcap/foundation-auth](./foundation-auth.md) > [
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [IDENTITY\_PROVIDER](./foundation-auth.identity_provider.md) > [ID](./foundation-auth.identity_provider.id.md)
|
|
4
4
|
|
|
5
|
-
##
|
|
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) > [@genesislcap/foundation-auth](./foundation-auth.md) > [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) > [@genesislcap/foundation-auth](./foundation-auth.md) > [
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [IDENTITY\_PROVIDER](./foundation-auth.identity_provider.md) > [TYPE](./foundation-auth.identity_provider.type.md)
|
|
4
4
|
|
|
5
|
-
##
|
|
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) > [@genesislcap/foundation-auth](./foundation-auth.md) > [IdentityProvider](./foundation-auth.identityprovider.md) > [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) > [@genesislcap/foundation-auth](./foundation-auth.md) > [IdentityProvider](./foundation-auth.identityprovider.md) > [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) > [@genesislcap/foundation-auth](./foundation-auth.md) > [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) > [@genesislcap/foundation-auth](./foundation-auth.md) > [IdentityProvider](./foundation-auth.identityprovider.md) > [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) > [@genesislcap/foundation-auth](./foundation-auth.md) > [LoginNack](./foundation-auth.loginnack.md) > [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
|
-
| [
|
|
81
|
-
| [
|
|
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) | |
|
package/docs/api-report.md
CHANGED
|
@@ -125,7 +125,7 @@ export interface AuthFormEntryStore extends Store {
|
|
|
125
125
|
// (undocumented)
|
|
126
126
|
readonly hasPasswordExpired: boolean;
|
|
127
127
|
// (undocumented)
|
|
128
|
-
readonly idps:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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
|
|
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
|
|
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.
|
|
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.
|
|
102
|
-
"@genesislcap/genx": "14.
|
|
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
|
-
"@genesislcap/foundation-events": "14.
|
|
108
|
-
"@genesislcap/foundation-logger": "14.
|
|
109
|
-
"@genesislcap/foundation-state-machine": "14.
|
|
110
|
-
"@genesislcap/foundation-store": "14.
|
|
111
|
-
"@genesislcap/foundation-ui": "14.
|
|
112
|
-
"@genesislcap/foundation-utils": "14.
|
|
113
|
-
"@genesislcap/foundation-zero": "14.
|
|
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": "
|
|
134
|
+
"gitHead": "a5a9cb1994ea71cb390b2eea7ece0fab419bb71e"
|
|
134
135
|
}
|
package/test/README.md
CHANGED
|
@@ -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) > [@genesislcap/foundation-auth](./foundation-auth.md) > [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) > [@genesislcap/foundation-auth](./foundation-auth.md) > [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
|