@genesislcap/foundation-auth 14.71.1-auth-mf.21 → 14.99.0-auth-mf.22
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 +27 -11
- package/dist/dts/components/zero-components.d.ts.map +1 -1
- package/dist/dts/config/config.d.ts +0 -9
- package/dist/dts/config/config.d.ts.map +1 -1
- package/dist/dts/config/templates.d.ts +1 -0
- package/dist/dts/config/templates.d.ts.map +1 -1
- package/dist/dts/dto/IDP.d.ts +9 -0
- package/dist/dts/dto/IDP.d.ts.map +1 -0
- package/dist/dts/dto/index.d.ts +1 -0
- package/dist/dts/dto/index.d.ts.map +1 -1
- package/dist/dts/entity/idp.d.ts +9 -0
- package/dist/dts/entity/idp.d.ts.map +1 -0
- package/dist/dts/entity/index.d.ts +1 -0
- package/dist/dts/entity/index.d.ts.map +1 -1
- package/dist/dts/entity/loginNack.d.ts +2 -0
- package/dist/dts/entity/loginNack.d.ts.map +1 -1
- package/dist/dts/entity/nack.d.ts +4 -0
- package/dist/dts/entity/nack.d.ts.map +1 -1
- package/dist/dts/env.d.ts +10 -0
- package/dist/dts/env.d.ts.map +1 -1
- package/dist/dts/machine/actions.d.ts +15 -0
- package/dist/dts/machine/actions.d.ts.map +1 -0
- package/dist/dts/machine/errors.d.ts +26 -0
- package/dist/dts/machine/errors.d.ts.map +1 -0
- package/dist/dts/machine/guards.d.ts +9 -0
- package/dist/dts/machine/guards.d.ts.map +1 -0
- package/dist/dts/machine/index.d.ts +2 -0
- package/dist/dts/machine/index.d.ts.map +1 -1
- package/dist/dts/machine/machine.d.ts +1 -1
- package/dist/dts/machine/machine.d.ts.map +1 -1
- package/dist/dts/main/main.d.ts +36 -3
- package/dist/dts/main/main.d.ts.map +1 -1
- package/dist/dts/main/main.styles.d.ts.map +1 -1
- package/dist/dts/main/main.template.d.ts +8 -0
- package/dist/dts/main/main.template.d.ts.map +1 -1
- package/dist/dts/mapper/loginMapper.d.ts.map +1 -1
- package/dist/dts/mapper/passwordManagementMapper.d.ts +1 -1
- package/dist/dts/mapper/passwordManagementMapper.d.ts.map +1 -1
- package/dist/dts/mapper/types.d.ts +2 -2
- package/dist/dts/mapper/utils.d.ts +20 -10
- package/dist/dts/mapper/utils.d.ts.map +1 -1
- package/dist/dts/routes/base.d.ts +4 -11
- package/dist/dts/routes/base.d.ts.map +1 -1
- package/dist/dts/routes/forgot-password/forgot-password.d.ts +0 -1
- package/dist/dts/routes/forgot-password/forgot-password.d.ts.map +1 -1
- package/dist/dts/routes/index.d.ts +0 -1
- package/dist/dts/routes/index.d.ts.map +1 -1
- package/dist/dts/routes/login/login.d.ts +1 -1
- package/dist/dts/routes/login/login.d.ts.map +1 -1
- package/dist/dts/routes/reset-password/reset-password.d.ts +0 -1
- package/dist/dts/routes/reset-password/reset-password.d.ts.map +1 -1
- package/dist/dts/services/idp.d.ts +41 -0
- package/dist/dts/services/idp.d.ts.map +1 -0
- package/dist/dts/services/index.d.ts +2 -0
- package/dist/dts/services/index.d.ts.map +1 -0
- package/dist/dts/store/auth.d.ts +17 -4
- package/dist/dts/store/auth.d.ts.map +1 -1
- package/dist/dts/store/authFormEntry.d.ts +56 -20
- package/dist/dts/store/authFormEntry.d.ts.map +1 -1
- package/dist/dts/tags/tags.d.ts +2 -5
- package/dist/dts/tags/tags.d.ts.map +1 -1
- package/dist/dts/utils/index.d.ts +0 -1
- package/dist/dts/utils/index.d.ts.map +1 -1
- package/dist/dts/utils/logger.d.ts +1 -1
- package/dist/dts/utils/logger.d.ts.map +1 -1
- package/dist/esm/components/zero-components.js +2 -2
- package/dist/esm/config/config.js +1 -1
- package/dist/esm/config/templates.js +1 -0
- package/dist/esm/dto/IDP.js +1 -0
- package/dist/esm/entity/idp.js +1 -0
- package/dist/esm/entity/index.js +1 -0
- package/dist/esm/env.js +29 -1
- package/dist/esm/machine/actions.js +24 -0
- package/dist/esm/machine/errors.js +40 -0
- package/dist/esm/machine/guards.js +11 -0
- package/dist/esm/machine/index.js +2 -0
- package/dist/esm/machine/machine.js +57 -66
- package/dist/esm/main/main.js +53 -3
- package/dist/esm/main/main.styles.js +7 -1
- package/dist/esm/main/main.template.js +16 -3
- package/dist/esm/mapper/loginMapper.js +2 -2
- package/dist/esm/mapper/passwordManagementMapper.js +1 -1
- package/dist/esm/mapper/utils.js +69 -13
- package/dist/esm/routes/base.js +9 -13
- package/dist/esm/routes/config.js +1 -1
- package/dist/esm/routes/forgot-password/forgot-password.js +0 -4
- package/dist/esm/routes/index.js +0 -1
- package/dist/esm/routes/login/login.js +13 -12
- package/dist/esm/routes/login/login.template.js +3 -3
- package/dist/esm/routes/reset-password/reset-password.js +0 -4
- package/dist/esm/services/idp.js +71 -0
- package/dist/esm/services/index.js +1 -0
- package/dist/esm/store/auth.js +25 -3
- package/dist/esm/store/authFormEntry.js +68 -49
- package/dist/esm/tags/tags.js +2 -20
- package/dist/esm/utils/index.js +0 -1
- package/dist/esm/utils/logger.js +1 -1
- package/dist/foundation-auth.api.json +816 -769
- package/dist/foundation-auth.d.ts +210 -91
- package/docs/api/foundation-auth.authformentryeventmap.md +1 -1
- package/docs/api/foundation-auth.authformentrystore.idps.md +1 -1
- package/docs/api/foundation-auth.authformentrystore.md +4 -6
- package/docs/api/foundation-auth.authformentrystore.onselectedidpchanged.md +3 -3
- package/docs/api/foundation-auth.authformentrystore.password2.md +5 -0
- package/docs/api/foundation-auth.authformentrystore.selectedidp.md +3 -3
- package/docs/api/{foundation-auth.authformentrystore.host.md → foundation-auth.authformentrystore.ssologinurl.md} +3 -3
- package/docs/api/foundation-auth.authstore.errormessages.md +11 -0
- package/docs/api/foundation-auth.authstore.md +2 -0
- package/docs/api/foundation-auth.authstore.metamessages.md +11 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.autofilling.md +1 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.email.md +1 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.haspasswordexpired.md +1 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.idps.md +2 -1
- package/docs/api/{foundation-auth.defaultauthformentrystore.haserrors.md → foundation-auth.defaultauthformentrystore.idpservice.md} +3 -3
- package/docs/api/foundation-auth.defaultauthformentrystore.md +6 -16
- package/docs/api/foundation-auth.defaultauthformentrystore.mfacode.md +1 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.onautofillform.md +1 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.onemailchanged.md +1 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.onorganisationchanged.md +1 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.onpassword2changed.md +1 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.onpasswordchanged.md +1 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.onselectedidpchanged.md +4 -3
- package/docs/api/foundation-auth.defaultauthformentrystore.onshowpasswordschanged.md +1 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.onssotogglechanged.md +1 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.onusernamechanged.md +1 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.organisation.md +1 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.orgusername.md +1 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.password.md +1 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.password2.md +5 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.passwordresettoken.md +1 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.selectedidp.md +4 -3
- package/docs/api/foundation-auth.defaultauthformentrystore.showpasswords.md +1 -0
- package/docs/api/{foundation-auth.defaultauthformentrystore.message.md → foundation-auth.defaultauthformentrystore.ssologinurl.md} +4 -3
- package/docs/api/foundation-auth.defaultauthformentrystore.ssotoggled.md +1 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.termsagreed.md +1 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.username.md +1 -0
- package/docs/api/foundation-auth.defaultauthmachine._constructor_.md +1 -1
- package/docs/api/{foundation-auth.defaultauthmachine.ondonedto.md → foundation-auth.defaultauthmachine.dtotransition.md} +3 -3
- package/docs/api/foundation-auth.defaultauthmachine.md +1 -1
- package/docs/api/foundation-auth.defaultauthstore.errormessages.md +12 -0
- package/docs/api/foundation-auth.defaultauthstore.ispending.md +1 -0
- package/docs/api/foundation-auth.defaultauthstore.md +3 -1
- package/docs/api/foundation-auth.defaultauthstore.metamessages.md +12 -0
- package/docs/api/foundation-auth.defaultauthstore.onchangepassword.md +1 -0
- package/docs/api/foundation-auth.defaultauthstore.onforgotpassword.md +1 -0
- package/docs/api/foundation-auth.defaultauthstore.onlogin.md +1 -0
- package/docs/api/foundation-auth.defaultauthstore.onlogout.md +1 -0
- package/docs/api/foundation-auth.defaultauthstore.onresetpassword.md +1 -0
- package/docs/api/{foundation-auth.idpresponse.id.md → foundation-auth.fromidpdto.md} +5 -3
- package/docs/api/foundation-auth.idp.description.md +11 -0
- package/docs/api/foundation-auth.idp.id.md +3 -3
- package/docs/api/foundation-auth.idp.md +3 -2
- package/docs/api/foundation-auth.idp.type.md +3 -3
- package/docs/api/foundation-auth.is200nack.md +13 -0
- package/docs/api/foundation-auth.isnackdto.md +1 -1
- package/docs/api/foundation-auth.isnackentity.md +24 -0
- package/docs/api/foundation-auth.loadingtemplate.md +12 -0
- package/docs/api/foundation-auth.logger.md +1 -1
- package/docs/api/foundation-auth.loginnack.hasincorrectcredentials.md +11 -0
- package/docs/api/foundation-auth.loginnack.maxtriesreached.md +11 -0
- package/docs/api/foundation-auth.loginnack.md +2 -0
- package/docs/api/foundation-auth.md +12 -11
- package/docs/api/foundation-auth.routertemplate.md +12 -0
- package/docs/api/foundation-auth.seterror.md +25 -0
- package/docs/api/{foundation-auth.idpresponse.type.md → foundation-auth.sso_list_url.md} +4 -3
- package/docs/api/foundation-auth.sso_login_url.md +12 -0
- package/docs/api/foundation-auth.ssoconfig.md +0 -1
- package/docs/api-report.md +175 -76
- package/package.json +12 -13
- package/dist/dts/utils/sso.d.ts +0 -27
- package/dist/dts/utils/sso.d.ts.map +0 -1
- package/dist/esm/utils/sso.js +0 -50
- package/docs/api/foundation-auth.authformentrystore.haserrors.md +0 -11
- package/docs/api/foundation-auth.authformentrystore.message.md +0 -11
- package/docs/api/foundation-auth.authrouting.getroutepath.md +0 -13
- package/docs/api/foundation-auth.authrouting.md +0 -37
- package/docs/api/foundation-auth.authrouting.navigateto.md +0 -16
- package/docs/api/foundation-auth.defaultauthformentrystore.autofill.md +0 -15
- package/docs/api/foundation-auth.defaultauthformentrystore.fetchmachine.md +0 -11
- package/docs/api/foundation-auth.defaultauthformentrystore.host.md +0 -11
- package/docs/api/foundation-auth.defaultauthformentrystore.resetidpstate.md +0 -15
- package/docs/api/foundation-auth.defaultauthformentrystore.ssotoggledchanged.md +0 -23
- package/docs/api/foundation-auth.defaultauthrouting.getroutepath.md +0 -24
- package/docs/api/foundation-auth.defaultauthrouting.md +0 -22
- package/docs/api/foundation-auth.defaultauthrouting.navigateto.md +0 -26
- package/docs/api/foundation-auth.fetchidps.md +0 -13
- package/docs/api/foundation-auth.fromdtonackerrorwarningarray.md +0 -12
- package/docs/api/foundation-auth.getauthrouting.md +0 -32
- package/docs/api/foundation-auth.getssologinurl.md +0 -13
- package/docs/api/foundation-auth.idpresponse.md +0 -20
- package/docs/api/foundation-auth.includeserrorwarningcode.md +0 -13
|
@@ -1,11 +1,11 @@
|
|
|
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) > [AuthFormEntryStore](./foundation-auth.authformentrystore.md) > [
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [AuthFormEntryStore](./foundation-auth.authformentrystore.md) > [selectedIdp](./foundation-auth.authformentrystore.selectedidp.md)
|
|
4
4
|
|
|
5
|
-
## AuthFormEntryStore.
|
|
5
|
+
## AuthFormEntryStore.selectedIdp property
|
|
6
6
|
|
|
7
7
|
**Signature:**
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
readonly
|
|
10
|
+
readonly selectedIdp: Idp;
|
|
11
11
|
```
|
|
@@ -1,11 +1,11 @@
|
|
|
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) > [AuthFormEntryStore](./foundation-auth.authformentrystore.md) > [
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [AuthFormEntryStore](./foundation-auth.authformentrystore.md) > [ssoLoginUrl](./foundation-auth.authformentrystore.ssologinurl.md)
|
|
4
4
|
|
|
5
|
-
## AuthFormEntryStore.
|
|
5
|
+
## AuthFormEntryStore.ssoLoginUrl property
|
|
6
6
|
|
|
7
7
|
**Signature:**
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
readonly
|
|
10
|
+
readonly ssoLoginUrl: string;
|
|
11
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) > [AuthStore](./foundation-auth.authstore.md) > [errorMessages](./foundation-auth.authstore.errormessages.md)
|
|
4
|
+
|
|
5
|
+
## AuthStore.errorMessages property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
readonly errorMessages: string[];
|
|
11
|
+
```
|
|
@@ -22,8 +22,10 @@ This is the root store for the foundation-auth package.
|
|
|
22
22
|
| Property | Modifiers | Type | Description |
|
|
23
23
|
| --- | --- | --- | --- |
|
|
24
24
|
| [authMachine](./foundation-auth.authstore.authmachine.md) | <code>readonly</code> | [AuthMachine](./foundation-auth.authmachine.md) | Auth workflows and transient state (context in xstate lingo). |
|
|
25
|
+
| [errorMessages](./foundation-auth.authstore.errormessages.md) | <code>readonly</code> | string\[\] | |
|
|
25
26
|
| [formEntry](./foundation-auth.authstore.formentry.md) | <code>readonly</code> | [AuthFormEntryStore](./foundation-auth.authformentrystore.md) | |
|
|
26
27
|
| [isPending](./foundation-auth.authstore.ispending.md) | <code>readonly</code> | boolean | |
|
|
28
|
+
| [metaMessages](./foundation-auth.authstore.metamessages.md) | <code>readonly</code> | string\[\] | |
|
|
27
29
|
|
|
28
30
|
## Methods
|
|
29
31
|
|
|
@@ -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) > [AuthStore](./foundation-auth.authstore.md) > [metaMessages](./foundation-auth.authstore.metamessages.md)
|
|
4
|
+
|
|
5
|
+
## AuthStore.metaMessages property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
readonly metaMessages: string[];
|
|
11
|
+
```
|
|
@@ -1,11 +1,11 @@
|
|
|
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) > [DefaultAuthFormEntryStore](./foundation-auth.defaultauthformentrystore.md) > [
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [DefaultAuthFormEntryStore](./foundation-auth.defaultauthformentrystore.md) > [idpService](./foundation-auth.defaultauthformentrystore.idpservice.md)
|
|
4
4
|
|
|
5
|
-
## DefaultAuthFormEntryStore.
|
|
5
|
+
## DefaultAuthFormEntryStore.idpService property
|
|
6
6
|
|
|
7
7
|
**Signature:**
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
|
|
10
|
+
readonly idpService: IDPService;
|
|
11
11
|
```
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## DefaultAuthFormEntryStore class
|
|
6
6
|
|
|
7
|
-
Default
|
|
7
|
+
Default AuthFormEntryStore.
|
|
8
8
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
@@ -29,19 +29,16 @@ export declare class DefaultAuthFormEntryStore extends AbstractStore<AuthFormEnt
|
|
|
29
29
|
| [config](./foundation-auth.defaultauthformentrystore.config.md) | <code>protected</code> | [AuthConfig](./foundation-auth.authconfig.md) | |
|
|
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
|
-
| [fetchMachine](./foundation-auth.defaultauthformentrystore.fetchmachine.md) | <code>readonly</code> | FetchMachine | |
|
|
33
|
-
| [hasErrors](./foundation-auth.defaultauthformentrystore.haserrors.md) | | boolean | |
|
|
34
32
|
| [hasPasswordExpired](./foundation-auth.defaultauthformentrystore.haspasswordexpired.md) | | boolean | |
|
|
35
|
-
| [
|
|
36
|
-
| [
|
|
37
|
-
| [message](./foundation-auth.defaultauthformentrystore.message.md) | | string | |
|
|
33
|
+
| [idps](./foundation-auth.defaultauthformentrystore.idps.md) | | [Idp](./foundation-auth.idp.md)<!-- -->\[\] | |
|
|
34
|
+
| [idpService](./foundation-auth.defaultauthformentrystore.idpservice.md) | <code>readonly</code> | IDPService | |
|
|
38
35
|
| [mfaCode](./foundation-auth.defaultauthformentrystore.mfacode.md) | | string | |
|
|
39
36
|
| [onAutofillForm](./foundation-auth.defaultauthformentrystore.onautofillform.md) | | EventListener | |
|
|
40
37
|
| [onEmailChanged](./foundation-auth.defaultauthformentrystore.onemailchanged.md) | | EventListener | |
|
|
41
38
|
| [onOrganisationChanged](./foundation-auth.defaultauthformentrystore.onorganisationchanged.md) | | EventListener | |
|
|
42
39
|
| [onPassword2Changed](./foundation-auth.defaultauthformentrystore.onpassword2changed.md) | | EventListener | |
|
|
43
40
|
| [onPasswordChanged](./foundation-auth.defaultauthformentrystore.onpasswordchanged.md) | | EventListener | |
|
|
44
|
-
| [
|
|
41
|
+
| [onSelectedIdpChanged](./foundation-auth.defaultauthformentrystore.onselectedidpchanged.md) | | EventListener | |
|
|
45
42
|
| [onShowPasswordsChanged](./foundation-auth.defaultauthformentrystore.onshowpasswordschanged.md) | | EventListener | |
|
|
46
43
|
| [onSSOToggleChanged](./foundation-auth.defaultauthformentrystore.onssotogglechanged.md) | | EventListener | |
|
|
47
44
|
| [onUsernameChanged](./foundation-auth.defaultauthformentrystore.onusernamechanged.md) | | EventListener | |
|
|
@@ -50,17 +47,10 @@ export declare class DefaultAuthFormEntryStore extends AbstractStore<AuthFormEnt
|
|
|
50
47
|
| [password](./foundation-auth.defaultauthformentrystore.password.md) | | string | |
|
|
51
48
|
| [password2](./foundation-auth.defaultauthformentrystore.password2.md) | | string | |
|
|
52
49
|
| [passwordResetToken](./foundation-auth.defaultauthformentrystore.passwordresettoken.md) | | string | |
|
|
53
|
-
| [
|
|
50
|
+
| [selectedIdp](./foundation-auth.defaultauthformentrystore.selectedidp.md) | | [Idp](./foundation-auth.idp.md) | |
|
|
54
51
|
| [showPasswords](./foundation-auth.defaultauthformentrystore.showpasswords.md) | | boolean | |
|
|
52
|
+
| [ssoLoginUrl](./foundation-auth.defaultauthformentrystore.ssologinurl.md) | <code>readonly</code> | string | |
|
|
55
53
|
| [ssoToggled](./foundation-auth.defaultauthformentrystore.ssotoggled.md) | | boolean | |
|
|
56
54
|
| [termsAgreed](./foundation-auth.defaultauthformentrystore.termsagreed.md) | | boolean | |
|
|
57
55
|
| [username](./foundation-auth.defaultauthformentrystore.username.md) | | string | |
|
|
58
56
|
|
|
59
|
-
## Methods
|
|
60
|
-
|
|
61
|
-
| Method | Modifiers | Description |
|
|
62
|
-
| --- | --- | --- |
|
|
63
|
-
| [autofill()](./foundation-auth.defaultauthformentrystore.autofill.md) | <code>protected</code> | |
|
|
64
|
-
| [resetIDPState()](./foundation-auth.defaultauthformentrystore.resetidpstate.md) | <code>protected</code> | |
|
|
65
|
-
| [ssoToggledChanged(prev, next)](./foundation-auth.defaultauthformentrystore.ssotoggledchanged.md) | <code>protected</code> | |
|
|
66
|
-
|
|
@@ -1,11 +1,12 @@
|
|
|
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) > [DefaultAuthFormEntryStore](./foundation-auth.defaultauthformentrystore.md) > [
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [DefaultAuthFormEntryStore](./foundation-auth.defaultauthformentrystore.md) > [onSelectedIdpChanged](./foundation-auth.defaultauthformentrystore.onselectedidpchanged.md)
|
|
4
|
+
|
|
5
|
+
## DefaultAuthFormEntryStore.onSelectedIdpChanged property
|
|
4
6
|
|
|
5
|
-
## DefaultAuthFormEntryStore.onSelectedIDPChanged property
|
|
6
7
|
|
|
7
8
|
**Signature:**
|
|
8
9
|
|
|
9
10
|
```typescript
|
|
10
|
-
|
|
11
|
+
onSelectedIdpChanged: EventListener;
|
|
11
12
|
```
|
|
@@ -1,11 +1,12 @@
|
|
|
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) > [DefaultAuthFormEntryStore](./foundation-auth.defaultauthformentrystore.md) > [
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [DefaultAuthFormEntryStore](./foundation-auth.defaultauthformentrystore.md) > [selectedIdp](./foundation-auth.defaultauthformentrystore.selectedidp.md)
|
|
4
|
+
|
|
5
|
+
## DefaultAuthFormEntryStore.selectedIdp property
|
|
4
6
|
|
|
5
|
-
## DefaultAuthFormEntryStore.selectedIDP property
|
|
6
7
|
|
|
7
8
|
**Signature:**
|
|
8
9
|
|
|
9
10
|
```typescript
|
|
10
|
-
|
|
11
|
+
selectedIdp: Idp;
|
|
11
12
|
```
|
|
@@ -1,11 +1,12 @@
|
|
|
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) > [DefaultAuthFormEntryStore](./foundation-auth.defaultauthformentrystore.md) > [
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [DefaultAuthFormEntryStore](./foundation-auth.defaultauthformentrystore.md) > [ssoLoginUrl](./foundation-auth.defaultauthformentrystore.ssologinurl.md)
|
|
4
|
+
|
|
5
|
+
## DefaultAuthFormEntryStore.ssoLoginUrl property
|
|
4
6
|
|
|
5
|
-
## DefaultAuthFormEntryStore.message property
|
|
6
7
|
|
|
7
8
|
**Signature:**
|
|
8
9
|
|
|
9
10
|
```typescript
|
|
10
|
-
|
|
11
|
+
get ssoLoginUrl(): string;
|
|
11
12
|
```
|
|
@@ -22,5 +22,5 @@ constructor(user: User, fetchMachine: FetchMachine, cm: CredentialManager, uuid:
|
|
|
22
22
|
| uuid | UUID | |
|
|
23
23
|
| messageMapper | [AuthMessageMapper](./foundation-auth.authmessagemapper.md) | |
|
|
24
24
|
| config | [AuthConfig](./foundation-auth.authconfig.md) | |
|
|
25
|
-
| routing |
|
|
25
|
+
| routing | AuthRouting | |
|
|
26
26
|
|
|
@@ -1,13 +1,13 @@
|
|
|
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) > [DefaultAuthMachine](./foundation-auth.defaultauthmachine.md) > [
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [DefaultAuthMachine](./foundation-auth.defaultauthmachine.md) > [dtoTransition](./foundation-auth.defaultauthmachine.dtotransition.md)
|
|
4
4
|
|
|
5
|
-
## DefaultAuthMachine.
|
|
5
|
+
## DefaultAuthMachine.dtoTransition property
|
|
6
6
|
|
|
7
7
|
**Signature:**
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
protected
|
|
10
|
+
protected dtoTransition: () => {
|
|
11
11
|
actions: string[];
|
|
12
12
|
target: string;
|
|
13
13
|
};
|
|
@@ -25,7 +25,7 @@ export declare class DefaultAuthMachine extends AbstractMachine<AuthMachineConte
|
|
|
25
25
|
|
|
26
26
|
| Property | Modifiers | Type | Description |
|
|
27
27
|
| --- | --- | --- | --- |
|
|
28
|
-
| [
|
|
28
|
+
| [dtoTransition](./foundation-auth.defaultauthmachine.dtotransition.md) | <code>protected</code> | () => { actions: string\[\]; target: string; } | |
|
|
29
29
|
| [onIdleEvents](./foundation-auth.defaultauthmachine.onidleevents.md) | <code>protected</code> | () => { login: { actions: string\[\]; target: string; }; "forgot-password": { actions: string\[\]; target: string; }; "change-password": { actions: string\[\]; target: string; }; "reset-password": { actions: string\[\]; target: string; }; } | |
|
|
30
30
|
|
|
31
31
|
## Methods
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [DefaultAuthStore](./foundation-auth.defaultauthstore.md) > [errorMessages](./foundation-auth.defaultauthstore.errormessages.md)
|
|
4
|
+
|
|
5
|
+
## DefaultAuthStore.errorMessages property
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
**Signature:**
|
|
9
|
+
|
|
10
|
+
```typescript
|
|
11
|
+
get errorMessages(): string[];
|
|
12
|
+
```
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## DefaultAuthStore class
|
|
6
6
|
|
|
7
|
-
Default
|
|
7
|
+
Default AuthStore.
|
|
8
8
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
@@ -27,8 +27,10 @@ export declare class DefaultAuthStore extends AbstractStoreRoot<AuthStore, AuthE
|
|
|
27
27
|
| --- | --- | --- | --- |
|
|
28
28
|
| [authMachine](./foundation-auth.defaultauthstore.authmachine.md) | <code>readonly</code> | [AuthMachine](./foundation-auth.authmachine.md) | |
|
|
29
29
|
| [config](./foundation-auth.defaultauthstore.config.md) | <code>readonly</code> | [AuthConfig](./foundation-auth.authconfig.md) | |
|
|
30
|
+
| [errorMessages](./foundation-auth.defaultauthstore.errormessages.md) | <code>readonly</code> | string\[\] | |
|
|
30
31
|
| [formEntry](./foundation-auth.defaultauthstore.formentry.md) | <code>readonly</code> | [AuthFormEntryStore](./foundation-auth.authformentrystore.md) | |
|
|
31
32
|
| [isPending](./foundation-auth.defaultauthstore.ispending.md) | <code>readonly</code> | boolean | |
|
|
33
|
+
| [metaMessages](./foundation-auth.defaultauthstore.metamessages.md) | <code>readonly</code> | string\[\] | |
|
|
32
34
|
| [onChangePassword](./foundation-auth.defaultauthstore.onchangepassword.md) | | EventListener | |
|
|
33
35
|
| [onForgotPassword](./foundation-auth.defaultauthstore.onforgotpassword.md) | | EventListener | |
|
|
34
36
|
| [onLogin](./foundation-auth.defaultauthstore.onlogin.md) | | EventListener | |
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [DefaultAuthStore](./foundation-auth.defaultauthstore.md) > [metaMessages](./foundation-auth.defaultauthstore.metamessages.md)
|
|
4
|
+
|
|
5
|
+
## DefaultAuthStore.metaMessages property
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
**Signature:**
|
|
9
|
+
|
|
10
|
+
```typescript
|
|
11
|
+
get metaMessages(): string[];
|
|
12
|
+
```
|
|
@@ -1,11 +1,13 @@
|
|
|
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) > [fromIDPDTO](./foundation-auth.fromidpdto.md)
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## fromIDPDTO variable
|
|
6
|
+
|
|
7
|
+
fromIDPDTO
|
|
6
8
|
|
|
7
9
|
**Signature:**
|
|
8
10
|
|
|
9
11
|
```typescript
|
|
10
|
-
|
|
12
|
+
fromIDPDTO: (dto: IDP) => Idp
|
|
11
13
|
```
|
|
@@ -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) > [IDP](./foundation-auth.idp.md) > [DESCRIPTION](./foundation-auth.idp.description.md)
|
|
4
|
+
|
|
5
|
+
## IDP.DESCRIPTION property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
readonly DESCRIPTION: string;
|
|
11
|
+
```
|
|
@@ -1,11 +1,11 @@
|
|
|
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) > [IDP](./foundation-auth.idp.md) > [
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [IDP](./foundation-auth.idp.md) > [ID](./foundation-auth.idp.id.md)
|
|
4
4
|
|
|
5
|
-
## IDP.
|
|
5
|
+
## IDP.ID property
|
|
6
6
|
|
|
7
7
|
**Signature:**
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
|
|
10
|
+
readonly ID: string;
|
|
11
11
|
```
|
|
@@ -15,6 +15,7 @@ export interface IDP
|
|
|
15
15
|
|
|
16
16
|
| Property | Modifiers | Type | Description |
|
|
17
17
|
| --- | --- | --- | --- |
|
|
18
|
-
| [
|
|
19
|
-
| [
|
|
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 | |
|
|
20
21
|
|
|
@@ -1,11 +1,11 @@
|
|
|
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) > [IDP](./foundation-auth.idp.md) > [
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [IDP](./foundation-auth.idp.md) > [TYPE](./foundation-auth.idp.type.md)
|
|
4
4
|
|
|
5
|
-
## IDP.
|
|
5
|
+
## IDP.TYPE property
|
|
6
6
|
|
|
7
7
|
**Signature:**
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
|
|
10
|
+
readonly TYPE: string;
|
|
11
11
|
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [is200Nack](./foundation-auth.is200nack.md)
|
|
4
|
+
|
|
5
|
+
## is200Nack variable
|
|
6
|
+
|
|
7
|
+
is200Nack.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
is200Nack: <TOutput = any>(event: EventObject | DoneInvokeEvent<TOutput>) => event is DoneInvokeEvent<TOutput>
|
|
13
|
+
```
|