@genesislcap/foundation-login 14.62.0 → 14.62.2-alpha-39ca39f.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 (54) hide show
  1. package/docs/.gitattributes +2 -0
  2. package/docs/api/foundation-login.configure.md +63 -0
  3. package/docs/api/foundation-login.defaultapihost.md +12 -0
  4. package/docs/api/foundation-login.defaultloginconfig.md +13 -0
  5. package/docs/api/foundation-login.defaultorganisation.md +12 -0
  6. package/docs/api/foundation-login.defaultpassword.md +12 -0
  7. package/docs/api/foundation-login.defaultsocketext.md +12 -0
  8. package/docs/api/foundation-login.defaulttemplateoptions.md +16 -0
  9. package/docs/api/foundation-login.defaultuser.md +12 -0
  10. package/docs/api/foundation-login.define.md +38 -0
  11. package/docs/api/foundation-login.definition.md +19 -0
  12. package/docs/api/foundation-login.fieldconfig.md +19 -0
  13. package/docs/api/foundation-login.fieldconfigmap.md +19 -0
  14. package/docs/api/foundation-login.hostenv.md +12 -0
  15. package/docs/api/foundation-login.hosturl.md +12 -0
  16. package/docs/api/foundation-login.idp.id.md +11 -0
  17. package/docs/api/foundation-login.idp.md +20 -0
  18. package/docs/api/foundation-login.idp.type.md +11 -0
  19. package/docs/api/foundation-login.idpresponse.id.md +11 -0
  20. package/docs/api/foundation-login.idpresponse.md +20 -0
  21. package/docs/api/foundation-login.idpresponse.type.md +11 -0
  22. package/docs/api/foundation-login.ismfroute.md +24 -0
  23. package/docs/api/foundation-login.login.md +108 -0
  24. package/docs/api/foundation-login.loginconfig.autoauth.md +18 -0
  25. package/docs/api/foundation-login.loginconfig.autoconnect.md +13 -0
  26. package/docs/api/foundation-login.loginconfig.background.md +30 -0
  27. package/docs/api/foundation-login.loginconfig.defaultredirecturl.md +18 -0
  28. package/docs/api/foundation-login.loginconfig.fields.md +18 -0
  29. package/docs/api/foundation-login.loginconfig.hostpath.md +18 -0
  30. package/docs/api/foundation-login.loginconfig.logo.md +28 -0
  31. package/docs/api/foundation-login.loginconfig.md +31 -0
  32. package/docs/api/foundation-login.loginconfig.omitredirecturls.md +21 -0
  33. package/docs/api/foundation-login.loginconfig.omitroutes.md +25 -0
  34. package/docs/api/foundation-login.loginconfig.showconnectionindicator.md +13 -0
  35. package/docs/api/foundation-login.loginconfig.sso.md +18 -0
  36. package/docs/api/foundation-login.loginconfig.versioninformation.md +25 -0
  37. package/docs/api/foundation-login.loginhosted.md +23 -0
  38. package/docs/api/foundation-login.loginhosted.registercommoncomponents.md +18 -0
  39. package/docs/api/foundation-login.md +59 -0
  40. package/docs/api/foundation-login.routes.md +20 -0
  41. package/docs/api/foundation-login.settings.md +20 -0
  42. package/docs/api/foundation-login.ssoconfig.md +15 -0
  43. package/docs/api/foundation-login.styles.md +24 -0
  44. package/docs/api/foundation-login.template.md +12 -0
  45. package/docs/api/foundation-login.templatecomponents.md +25 -0
  46. package/docs/api/foundation-login.templateoptions.md +19 -0
  47. package/docs/api/index.md +12 -0
  48. package/docs/api-report.md +386 -0
  49. package/docs/img/foundation-login_change-password.png +0 -0
  50. package/docs/img/foundation-login_forgotten-password.png +0 -0
  51. package/docs/img/foundation-login_login-sso.png +0 -0
  52. package/docs/img/foundation-login_login-standard.png +0 -0
  53. package/docs/img/foundation-login_request-account.png +0 -0
  54. package/package.json +8 -8
@@ -0,0 +1,31 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-login](./foundation-login.md) &gt; [LoginConfig](./foundation-login.loginconfig.md)
4
+
5
+ ## LoginConfig interface
6
+
7
+ LoginConfig DI interface.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export interface LoginConfig
13
+ ```
14
+
15
+ ## Properties
16
+
17
+ | Property | Modifiers | Type | Description |
18
+ | --- | --- | --- | --- |
19
+ | [autoAuth](./foundation-login.loginconfig.autoauth.md) | | boolean | Login automatically or require user to click a login button after a connection is established. |
20
+ | [autoConnect](./foundation-login.loginconfig.autoconnect.md) | | boolean | Connect automatically or require user to click a connect button. |
21
+ | [background](./foundation-login.loginconfig.background.md) | | ElementStyles | Background styles. |
22
+ | [defaultRedirectUrl](./foundation-login.loginconfig.defaultredirecturl.md) | | string | The default URL to route the user to after a successful login. |
23
+ | [fields](./foundation-login.loginconfig.fields.md) | | [FieldConfigMap](./foundation-login.fieldconfigmap.md) | Map of configuration for each of the primary form fields. |
24
+ | [hostPath](./foundation-login.loginconfig.hostpath.md) | | string | The <code>path</code> of the micro frontend as defined in the parent / host route. |
25
+ | [logo](./foundation-login.loginconfig.logo.md) | | ElementStyles \| null | Logo styles. |
26
+ | [omitRedirectUrls](./foundation-login.loginconfig.omitredirecturls.md) | | string\[\] | Omit certain return urls which the session service may have captured. |
27
+ | [omitRoutes](./foundation-login.loginconfig.omitroutes.md) | | Exclude&lt;[Routes](./foundation-login.routes.md)<!-- -->, 'login' \| 'not-found'&gt;\[\] | Omit any of the internal routes except 'login' and 'not-found'. |
28
+ | [showConnectionIndicator](./foundation-login.loginconfig.showconnectionindicator.md) | | boolean | Show or hide the connection status indicator. |
29
+ | [sso](./foundation-login.loginconfig.sso.md) | | [SSOConfig](./foundation-login.ssoconfig.md) \| null | SSO configuration. |
30
+ | [versionInformation?](./foundation-login.loginconfig.versioninformation.md) | | string | _(Optional)_ Display arbitrary version information. |
31
+
@@ -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-login](./foundation-login.md) &gt; [LoginConfig](./foundation-login.loginconfig.md) &gt; [omitRedirectUrls](./foundation-login.loginconfig.omitredirecturls.md)
4
+
5
+ ## LoginConfig.omitRedirectUrls property
6
+
7
+ Omit certain return urls which the session service may have captured.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ omitRedirectUrls: string[];
13
+ ```
14
+
15
+ ## Example
16
+
17
+
18
+ ```ts
19
+ omitRedirectUrls: ['/not-found'],
20
+ ```
21
+
@@ -0,0 +1,25 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-login](./foundation-login.md) &gt; [LoginConfig](./foundation-login.loginconfig.md) &gt; [omitRoutes](./foundation-login.loginconfig.omitroutes.md)
4
+
5
+ ## LoginConfig.omitRoutes property
6
+
7
+ Omit any of the internal routes except 'login' and 'not-found'.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ omitRoutes: Exclude<Routes, 'login' | 'not-found'>[];
13
+ ```
14
+
15
+ ## Remarks
16
+
17
+ Routes specified here will not be configured nor will any internal cross-links to them be displayed.
18
+
19
+ ## Example
20
+
21
+
22
+ ```ts
23
+ omitRoutes: ['request-account'],
24
+ ```
25
+
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-login](./foundation-login.md) &gt; [LoginConfig](./foundation-login.loginconfig.md) &gt; [showConnectionIndicator](./foundation-login.loginconfig.showconnectionindicator.md)
4
+
5
+ ## LoginConfig.showConnectionIndicator property
6
+
7
+ Show or hide the connection status indicator.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ showConnectionIndicator: boolean;
13
+ ```
@@ -0,0 +1,18 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-login](./foundation-login.md) &gt; [LoginConfig](./foundation-login.loginconfig.md) &gt; [sso](./foundation-login.loginconfig.sso.md)
4
+
5
+ ## LoginConfig.sso property
6
+
7
+ SSO configuration.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ sso: SSOConfig | null;
13
+ ```
14
+
15
+ ## Remarks
16
+
17
+ Providing `null` excludes the SSO journey option completely.
18
+
@@ -0,0 +1,25 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-login](./foundation-login.md) &gt; [LoginConfig](./foundation-login.loginconfig.md) &gt; [versionInformation](./foundation-login.loginconfig.versioninformation.md)
4
+
5
+ ## LoginConfig.versionInformation property
6
+
7
+ Display arbitrary version information.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ versionInformation?: string;
13
+ ```
14
+
15
+ ## Remarks
16
+
17
+ Applications may choose to set this to display their Application release version on the login form.
18
+
19
+ ## Example
20
+
21
+
22
+ ```ts
23
+ versionInformation: 'Version 3.0.0',
24
+ ```
25
+
@@ -0,0 +1,23 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-login](./foundation-login.md) &gt; [LoginHosted](./foundation-login.loginhosted.md)
4
+
5
+ ## LoginHosted class
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+
11
+ **Signature:**
12
+
13
+ ```typescript
14
+ export declare class LoginHosted extends Login
15
+ ```
16
+ **Extends:** [Login](./foundation-login.login.md)
17
+
18
+ ## Methods
19
+
20
+ | Method | Modifiers | Description |
21
+ | --- | --- | --- |
22
+ | [registerCommonComponents()](./foundation-login.loginhosted.registercommoncomponents.md) | | **_(BETA)_** |
23
+
@@ -0,0 +1,18 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-login](./foundation-login.md) &gt; [LoginHosted](./foundation-login.loginhosted.md) &gt; [registerCommonComponents](./foundation-login.loginhosted.registercommoncomponents.md)
4
+
5
+ ## LoginHosted.registerCommonComponents() method
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ **Signature:**
11
+
12
+ ```typescript
13
+ registerCommonComponents(): Promise<void>;
14
+ ```
15
+ **Returns:**
16
+
17
+ Promise&lt;void&gt;
18
+
@@ -0,0 +1,59 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-login](./foundation-login.md)
4
+
5
+ ## foundation-login package
6
+
7
+ ## Classes
8
+
9
+ | Class | Description |
10
+ | --- | --- |
11
+ | [Login](./foundation-login.login.md) | Defines the login class which handles account authentication from the front-end |
12
+ | [LoginHosted](./foundation-login.loginhosted.md) | **_(BETA)_** |
13
+
14
+ ## Functions
15
+
16
+ | Function | Description |
17
+ | --- | --- |
18
+ | [configure(container, config)](./foundation-login.configure.md) | Configure the login micro frontend settings. |
19
+ | [isMFRoute(pathname)](./foundation-login.ismfroute.md) | A utility to check if a pathname is a route of this micro frontend. |
20
+
21
+ ## Interfaces
22
+
23
+ | Interface | Description |
24
+ | --- | --- |
25
+ | [IDP](./foundation-login.idp.md) | |
26
+ | [IDPResponse](./foundation-login.idpresponse.md) | |
27
+ | [LoginConfig](./foundation-login.loginconfig.md) | LoginConfig DI interface. |
28
+
29
+ ## Variables
30
+
31
+ | Variable | Description |
32
+ | --- | --- |
33
+ | [defaultApiHost](./foundation-login.defaultapihost.md) | |
34
+ | [defaultLoginConfig](./foundation-login.defaultloginconfig.md) | Default LoginConfig DI implementation. |
35
+ | [defaultOrganisation](./foundation-login.defaultorganisation.md) | |
36
+ | [defaultPassword](./foundation-login.defaultpassword.md) | |
37
+ | [defaultSocketExt](./foundation-login.defaultsocketext.md) | |
38
+ | [defaultTemplateOptions](./foundation-login.defaulttemplateoptions.md) | **_(BETA)_** The default template options this MF has been created with. |
39
+ | [defaultUser](./foundation-login.defaultuser.md) | |
40
+ | [define](./foundation-login.define.md) | **_(BETA)_** Re-define the login micro frontend. |
41
+ | [definition](./foundation-login.definition.md) | **_(BETA)_** |
42
+ | [hostEnv](./foundation-login.hostenv.md) | |
43
+ | [hostUrl](./foundation-login.hosturl.md) | |
44
+ | [Routes](./foundation-login.routes.md) | |
45
+ | [styles](./foundation-login.styles.md) | |
46
+ | [template](./foundation-login.template.md) | |
47
+
48
+ ## Type Aliases
49
+
50
+ | Type Alias | Description |
51
+ | --- | --- |
52
+ | [FieldConfig](./foundation-login.fieldconfig.md) | Could be expanded to allow field ViewTemplates. |
53
+ | [FieldConfigMap](./foundation-login.fieldconfigmap.md) | |
54
+ | [Routes](./foundation-login.routes.md) | |
55
+ | [Settings](./foundation-login.settings.md) | Defines the parameters you may set on the routes. |
56
+ | [SSOConfig](./foundation-login.ssoconfig.md) | |
57
+ | [TemplateComponents](./foundation-login.templatecomponents.md) | **_(BETA)_** |
58
+ | [TemplateOptions](./foundation-login.templateoptions.md) | **_(BETA)_** |
59
+
@@ -0,0 +1,20 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-login](./foundation-login.md) &gt; [Routes](./foundation-login.routes.md)
4
+
5
+ ## Routes variable
6
+
7
+
8
+ **Signature:**
9
+
10
+ ```typescript
11
+ Routes: {
12
+ readonly login: "login";
13
+ readonly 'request-account': "request-account";
14
+ readonly 'reset-password': "reset-password";
15
+ readonly 'forgot-password': "forgot-password";
16
+ readonly verify: "verify";
17
+ readonly protected: "protected";
18
+ readonly 'not-found': "not-found";
19
+ }
20
+ ```
@@ -0,0 +1,20 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-login](./foundation-login.md) &gt; [Settings](./foundation-login.settings.md)
4
+
5
+ ## Settings type
6
+
7
+ Defines the parameters you may set on the routes.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export type Settings = {
13
+ public?: boolean;
14
+ };
15
+ ```
16
+
17
+ ## Remarks
18
+
19
+ See the example in the [Login](./foundation-login.login.md) class in the router's `configure` method for usage. All parameters are Optional.
20
+
@@ -0,0 +1,15 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-login](./foundation-login.md) &gt; [SSOConfig](./foundation-login.ssoconfig.md)
4
+
5
+ ## SSOConfig type
6
+
7
+
8
+ **Signature:**
9
+
10
+ ```typescript
11
+ export type SSOConfig = {
12
+ toggled?: boolean;
13
+ identityProvidersPath: string;
14
+ };
15
+ ```
@@ -0,0 +1,24 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-login](./foundation-login.md) &gt; [styles](./foundation-login.styles.md)
4
+
5
+ ## styles variable
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ styles: (options: TemplateOptions) => import("@microsoft/fast-element").ElementStyles
11
+ ```
12
+
13
+ ## Example
14
+
15
+ unknown target
16
+
17
+ ```
18
+ const buttonTag = tagFor(options.button);
19
+ ...
20
+ ${buttonTag} {
21
+ width: 200px;
22
+ }
23
+ ```
24
+
@@ -0,0 +1,12 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-login](./foundation-login.md) &gt; [template](./foundation-login.template.md)
4
+
5
+ ## template variable
6
+
7
+
8
+ **Signature:**
9
+
10
+ ```typescript
11
+ template: (options: TemplateOptions) => import("@microsoft/fast-element").ViewTemplate<Login, any>
12
+ ```
@@ -0,0 +1,25 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-login](./foundation-login.md) &gt; [TemplateComponents](./foundation-login.templatecomponents.md)
4
+
5
+ ## TemplateComponents type
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+
11
+ **Signature:**
12
+
13
+ ```typescript
14
+ export type TemplateComponents = {
15
+ anchor: TemplateElementDependency;
16
+ button: TemplateElementDependency;
17
+ card: TemplateElementDependency;
18
+ checkbox: TemplateElementDependency;
19
+ listboxOption: TemplateElementDependency;
20
+ provider: TemplateElementDependency;
21
+ router: TemplateElementDependency;
22
+ select: TemplateElementDependency;
23
+ textField: TemplateElementDependency;
24
+ };
25
+ ```
@@ -0,0 +1,19 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-login](./foundation-login.md) &gt; [TemplateOptions](./foundation-login.templateoptions.md)
4
+
5
+ ## TemplateOptions type
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+
11
+ **Signature:**
12
+
13
+ ```typescript
14
+ export type TemplateOptions = TemplateComponents & {
15
+ somePartial?: string | SyntheticViewTemplate;
16
+ };
17
+ ```
18
+ **References:** [TemplateComponents](./foundation-login.templatecomponents.md)
19
+
@@ -0,0 +1,12 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md)
4
+
5
+ ## API Reference
6
+
7
+ ## Packages
8
+
9
+ | Package | Description |
10
+ | --- | --- |
11
+ | [@genesislcap/foundation-login](./foundation-login.md) | |
12
+