@genesislcap/foundation-auth 14.71.1-auth-mf.21 → 14.103.0-auth-mf.23

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 (196) hide show
  1. package/README.md +62 -12
  2. package/dist/dts/config/config.d.ts +0 -9
  3. package/dist/dts/config/config.d.ts.map +1 -1
  4. package/dist/dts/dto/IDP.d.ts +9 -0
  5. package/dist/dts/dto/IDP.d.ts.map +1 -0
  6. package/dist/dts/dto/index.d.ts +1 -0
  7. package/dist/dts/dto/index.d.ts.map +1 -1
  8. package/dist/dts/entity/idp.d.ts +9 -0
  9. package/dist/dts/entity/idp.d.ts.map +1 -0
  10. package/dist/dts/entity/index.d.ts +1 -0
  11. package/dist/dts/entity/index.d.ts.map +1 -1
  12. package/dist/dts/entity/loginNack.d.ts +2 -0
  13. package/dist/dts/entity/loginNack.d.ts.map +1 -1
  14. package/dist/dts/entity/nack.d.ts +4 -0
  15. package/dist/dts/entity/nack.d.ts.map +1 -1
  16. package/dist/dts/env.d.ts +10 -0
  17. package/dist/dts/env.d.ts.map +1 -1
  18. package/dist/dts/machine/actions.d.ts +15 -0
  19. package/dist/dts/machine/actions.d.ts.map +1 -0
  20. package/dist/dts/machine/errors.d.ts +26 -0
  21. package/dist/dts/machine/errors.d.ts.map +1 -0
  22. package/dist/dts/machine/guards.d.ts +9 -0
  23. package/dist/dts/machine/guards.d.ts.map +1 -0
  24. package/dist/dts/machine/index.d.ts +2 -0
  25. package/dist/dts/machine/index.d.ts.map +1 -1
  26. package/dist/dts/machine/machine.d.ts +1 -1
  27. package/dist/dts/machine/machine.d.ts.map +1 -1
  28. package/dist/dts/main/main.d.ts +35 -3
  29. package/dist/dts/main/main.d.ts.map +1 -1
  30. package/dist/dts/main/main.styles.d.ts.map +1 -1
  31. package/dist/dts/main/main.template.d.ts.map +1 -1
  32. package/dist/dts/mapper/loginMapper.d.ts.map +1 -1
  33. package/dist/dts/mapper/passwordManagementMapper.d.ts +1 -1
  34. package/dist/dts/mapper/passwordManagementMapper.d.ts.map +1 -1
  35. package/dist/dts/mapper/types.d.ts +2 -2
  36. package/dist/dts/mapper/utils.d.ts +20 -10
  37. package/dist/dts/mapper/utils.d.ts.map +1 -1
  38. package/dist/dts/routes/base.d.ts +4 -11
  39. package/dist/dts/routes/base.d.ts.map +1 -1
  40. package/dist/dts/routes/forgot-password/forgot-password.d.ts +0 -1
  41. package/dist/dts/routes/forgot-password/forgot-password.d.ts.map +1 -1
  42. package/dist/dts/routes/index.d.ts +0 -1
  43. package/dist/dts/routes/index.d.ts.map +1 -1
  44. package/dist/dts/routes/login/login.d.ts +1 -1
  45. package/dist/dts/routes/login/login.d.ts.map +1 -1
  46. package/dist/dts/routes/login/login.template.d.ts.map +1 -1
  47. package/dist/dts/routes/logout/logout.template.d.ts.map +1 -1
  48. package/dist/dts/routes/request-account/request-account.template.d.ts.map +1 -1
  49. package/dist/dts/routes/reset-password/reset-password.d.ts +0 -1
  50. package/dist/dts/routes/reset-password/reset-password.d.ts.map +1 -1
  51. package/dist/dts/routes/verify/verify.template.d.ts.map +1 -1
  52. package/dist/dts/services/idp.d.ts +41 -0
  53. package/dist/dts/services/idp.d.ts.map +1 -0
  54. package/dist/dts/services/index.d.ts +2 -0
  55. package/dist/dts/services/index.d.ts.map +1 -0
  56. package/dist/dts/store/auth.d.ts +18 -5
  57. package/dist/dts/store/auth.d.ts.map +1 -1
  58. package/dist/dts/store/authFormEntry.d.ts +57 -21
  59. package/dist/dts/store/authFormEntry.d.ts.map +1 -1
  60. package/dist/dts/tags/tags.d.ts +0 -7
  61. package/dist/dts/tags/tags.d.ts.map +1 -1
  62. package/dist/dts/user/user.d.ts +2 -2
  63. package/dist/dts/user/user.d.ts.map +1 -1
  64. package/dist/dts/utils/index.d.ts +0 -1
  65. package/dist/dts/utils/index.d.ts.map +1 -1
  66. package/dist/dts/utils/logger.d.ts +1 -1
  67. package/dist/dts/utils/logger.d.ts.map +1 -1
  68. package/dist/esm/config/config.js +1 -1
  69. package/dist/esm/dto/IDP.js +1 -0
  70. package/dist/esm/entity/idp.js +1 -0
  71. package/dist/esm/entity/index.js +1 -0
  72. package/dist/esm/env.js +29 -1
  73. package/dist/esm/machine/actions.js +24 -0
  74. package/dist/esm/machine/errors.js +40 -0
  75. package/dist/esm/machine/guards.js +11 -0
  76. package/dist/esm/machine/index.js +2 -0
  77. package/dist/esm/machine/machine.js +57 -66
  78. package/dist/esm/main/main.js +46 -2
  79. package/dist/esm/main/main.styles.js +3 -1
  80. package/dist/esm/main/main.template.js +2 -1
  81. package/dist/esm/mapper/loginMapper.js +2 -2
  82. package/dist/esm/mapper/passwordManagementMapper.js +1 -1
  83. package/dist/esm/mapper/utils.js +69 -13
  84. package/dist/esm/routes/base.js +9 -13
  85. package/dist/esm/routes/config.js +1 -1
  86. package/dist/esm/routes/forgot-password/forgot-password.js +0 -4
  87. package/dist/esm/routes/forgot-password/forgot-password.template.js +2 -2
  88. package/dist/esm/routes/index.js +0 -1
  89. package/dist/esm/routes/login/login.js +13 -12
  90. package/dist/esm/routes/login/login.template.js +8 -7
  91. package/dist/esm/routes/logout/logout.template.js +1 -0
  92. package/dist/esm/routes/request-account/request-account.template.js +3 -2
  93. package/dist/esm/routes/reset-password/reset-password.js +0 -4
  94. package/dist/esm/routes/reset-password/reset-password.template.js +1 -1
  95. package/dist/esm/routes/verify/verify.template.js +3 -2
  96. package/dist/esm/services/idp.js +71 -0
  97. package/dist/esm/services/index.js +1 -0
  98. package/dist/esm/store/auth.js +25 -3
  99. package/dist/esm/store/authFormEntry.js +62 -49
  100. package/dist/esm/tags/tags.js +0 -22
  101. package/dist/esm/user/user.js +6 -2
  102. package/dist/esm/utils/index.js +0 -1
  103. package/dist/esm/utils/logger.js +1 -1
  104. package/dist/foundation-auth.api.json +749 -784
  105. package/dist/foundation-auth.d.ts +202 -96
  106. package/docs/api/foundation-auth.authformentryeventmap.md +1 -1
  107. package/docs/api/foundation-auth.authformentrystore.idps.md +1 -1
  108. package/docs/api/foundation-auth.authformentrystore.md +4 -6
  109. package/docs/api/foundation-auth.authformentrystore.onselectedidpchanged.md +3 -3
  110. package/docs/api/foundation-auth.authformentrystore.password2.md +5 -0
  111. package/docs/api/foundation-auth.authformentrystore.selectedidp.md +3 -3
  112. package/docs/api/{foundation-auth.authformentrystore.host.md → foundation-auth.authformentrystore.ssologinurl.md} +3 -3
  113. package/docs/api/foundation-auth.authstore.errormessages.md +11 -0
  114. package/docs/api/foundation-auth.authstore.md +2 -0
  115. package/docs/api/foundation-auth.authstore.metamessages.md +11 -0
  116. package/docs/api/foundation-auth.defaultauthformentrystore.autofilling.md +1 -0
  117. package/docs/api/foundation-auth.defaultauthformentrystore.email.md +1 -0
  118. package/docs/api/foundation-auth.defaultauthformentrystore.haspasswordexpired.md +1 -0
  119. package/docs/api/foundation-auth.defaultauthformentrystore.idps.md +2 -1
  120. package/docs/api/{foundation-auth.defaultauthformentrystore.haserrors.md → foundation-auth.defaultauthformentrystore.idpservice.md} +3 -3
  121. package/docs/api/foundation-auth.defaultauthformentrystore.md +6 -16
  122. package/docs/api/foundation-auth.defaultauthformentrystore.mfacode.md +1 -0
  123. package/docs/api/foundation-auth.defaultauthformentrystore.onautofillform.md +1 -0
  124. package/docs/api/foundation-auth.defaultauthformentrystore.onemailchanged.md +1 -0
  125. package/docs/api/foundation-auth.defaultauthformentrystore.onorganisationchanged.md +1 -0
  126. package/docs/api/foundation-auth.defaultauthformentrystore.onpassword2changed.md +1 -0
  127. package/docs/api/foundation-auth.defaultauthformentrystore.onpasswordchanged.md +1 -0
  128. package/docs/api/foundation-auth.defaultauthformentrystore.onselectedidpchanged.md +4 -3
  129. package/docs/api/foundation-auth.defaultauthformentrystore.onshowpasswordschanged.md +1 -0
  130. package/docs/api/foundation-auth.defaultauthformentrystore.onssotogglechanged.md +1 -0
  131. package/docs/api/foundation-auth.defaultauthformentrystore.onusernamechanged.md +1 -0
  132. package/docs/api/foundation-auth.defaultauthformentrystore.organisation.md +1 -0
  133. package/docs/api/foundation-auth.defaultauthformentrystore.orgusername.md +1 -0
  134. package/docs/api/foundation-auth.defaultauthformentrystore.password.md +1 -0
  135. package/docs/api/foundation-auth.defaultauthformentrystore.password2.md +5 -0
  136. package/docs/api/foundation-auth.defaultauthformentrystore.passwordresettoken.md +1 -0
  137. package/docs/api/foundation-auth.defaultauthformentrystore.selectedidp.md +4 -3
  138. package/docs/api/foundation-auth.defaultauthformentrystore.showpasswords.md +1 -0
  139. package/docs/api/{foundation-auth.defaultauthformentrystore.message.md → foundation-auth.defaultauthformentrystore.ssologinurl.md} +4 -3
  140. package/docs/api/foundation-auth.defaultauthformentrystore.ssotoggled.md +1 -0
  141. package/docs/api/foundation-auth.defaultauthformentrystore.termsagreed.md +1 -0
  142. package/docs/api/foundation-auth.defaultauthformentrystore.username.md +1 -0
  143. package/docs/api/foundation-auth.defaultauthmachine._constructor_.md +1 -1
  144. package/docs/api/{foundation-auth.defaultauthmachine.ondonedto.md → foundation-auth.defaultauthmachine.dtotransition.md} +3 -3
  145. package/docs/api/foundation-auth.defaultauthmachine.md +1 -1
  146. package/docs/api/foundation-auth.defaultauthstore.errormessages.md +12 -0
  147. package/docs/api/foundation-auth.defaultauthstore.ispending.md +1 -0
  148. package/docs/api/foundation-auth.defaultauthstore.md +3 -1
  149. package/docs/api/foundation-auth.defaultauthstore.metamessages.md +12 -0
  150. package/docs/api/foundation-auth.defaultauthstore.onchangepassword.md +1 -0
  151. package/docs/api/foundation-auth.defaultauthstore.onforgotpassword.md +1 -0
  152. package/docs/api/foundation-auth.defaultauthstore.onlogin.md +1 -0
  153. package/docs/api/foundation-auth.defaultauthstore.onlogout.md +1 -0
  154. package/docs/api/foundation-auth.defaultauthstore.onresetpassword.md +1 -0
  155. package/docs/api/{foundation-auth.idpresponse.id.md → foundation-auth.fromidpdto.md} +5 -3
  156. package/docs/api/foundation-auth.idp.description.md +11 -0
  157. package/docs/api/foundation-auth.idp.id.md +3 -3
  158. package/docs/api/foundation-auth.idp.md +3 -2
  159. package/docs/api/foundation-auth.idp.type.md +3 -3
  160. package/docs/api/foundation-auth.is200nack.md +13 -0
  161. package/docs/api/foundation-auth.isnackdto.md +1 -1
  162. package/docs/api/foundation-auth.isnackentity.md +24 -0
  163. package/docs/api/foundation-auth.logger.md +1 -1
  164. package/docs/api/foundation-auth.loginnack.hasincorrectcredentials.md +11 -0
  165. package/docs/api/foundation-auth.loginnack.maxtriesreached.md +11 -0
  166. package/docs/api/foundation-auth.loginnack.md +2 -0
  167. package/docs/api/foundation-auth.md +10 -11
  168. package/docs/api/foundation-auth.seterror.md +25 -0
  169. package/docs/api/{foundation-auth.idpresponse.type.md → foundation-auth.sso_list_url.md} +4 -3
  170. package/docs/api/foundation-auth.sso_login_url.md +12 -0
  171. package/docs/api/foundation-auth.ssoconfig.md +0 -1
  172. package/docs/api/foundation-auth.user.addauthenticationchangelistener.md +3 -3
  173. package/docs/api-report.md +170 -80
  174. package/package.json +12 -13
  175. package/dist/dts/utils/sso.d.ts +0 -27
  176. package/dist/dts/utils/sso.d.ts.map +0 -1
  177. package/dist/esm/utils/sso.js +0 -50
  178. package/docs/api/foundation-auth.authformentrystore.haserrors.md +0 -11
  179. package/docs/api/foundation-auth.authformentrystore.message.md +0 -11
  180. package/docs/api/foundation-auth.authrouting.getroutepath.md +0 -13
  181. package/docs/api/foundation-auth.authrouting.md +0 -37
  182. package/docs/api/foundation-auth.authrouting.navigateto.md +0 -16
  183. package/docs/api/foundation-auth.defaultauthformentrystore.autofill.md +0 -15
  184. package/docs/api/foundation-auth.defaultauthformentrystore.fetchmachine.md +0 -11
  185. package/docs/api/foundation-auth.defaultauthformentrystore.host.md +0 -11
  186. package/docs/api/foundation-auth.defaultauthformentrystore.resetidpstate.md +0 -15
  187. package/docs/api/foundation-auth.defaultauthformentrystore.ssotoggledchanged.md +0 -23
  188. package/docs/api/foundation-auth.defaultauthrouting.getroutepath.md +0 -24
  189. package/docs/api/foundation-auth.defaultauthrouting.md +0 -22
  190. package/docs/api/foundation-auth.defaultauthrouting.navigateto.md +0 -26
  191. package/docs/api/foundation-auth.fetchidps.md +0 -13
  192. package/docs/api/foundation-auth.fromdtonackerrorwarningarray.md +0 -12
  193. package/docs/api/foundation-auth.getauthrouting.md +0 -32
  194. package/docs/api/foundation-auth.getssologinurl.md +0 -13
  195. package/docs/api/foundation-auth.idpresponse.md +0 -20
  196. package/docs/api/foundation-auth.includeserrorwarningcode.md +0 -13
@@ -3,26 +3,34 @@
3
3
  import { AbstractMachine } from '@genesislcap/foundation-state-machine';
4
4
  import { AbstractStore } from '@genesislcap/foundation-store';
5
5
  import { AbstractStoreRoot } from '@genesislcap/foundation-store';
6
+ import { ActionArgs } from 'xstate';
7
+ import { AnyActorContext } from 'xstate';
8
+ import { AnyState } from 'xstate';
9
+ import { Assigner } from 'xstate';
10
+ import { BindingObserver } from '@microsoft/fast-element';
6
11
  import { ComposableStyles } from '@microsoft/fast-element';
7
12
  import { Constructable } from '@microsoft/fast-element';
8
13
  import { Container } from '@microsoft/fast-foundation';
9
14
  import { Controller } from '@microsoft/fast-element';
10
- import type { DoneInvokeEvent } from 'xstate';
15
+ import { DoneInvokeEvent } from 'xstate';
11
16
  import { ElementStyles } from '@microsoft/fast-element';
12
17
  import { EmitOptions } from '@genesislcap/foundation-events';
13
18
  import { EmitReturn } from '@genesislcap/foundation-events';
14
19
  import type { ErrorEvent as ErrorEvent_2 } from 'xstate';
20
+ import { EventObject } from 'xstate';
15
21
  import { FetchMachine } from '@genesislcap/foundation-state-machine';
16
22
  import { FetchMachineEvent } from '@genesislcap/foundation-state-machine';
17
23
  import { InterfaceSymbol } from '@microsoft/fast-foundation';
18
24
  import type { InterpreterOptions } from 'xstate';
19
- import { Key } from '@microsoft/fast-foundation';
20
25
  import { Listener } from '@genesislcap/foundation-utils';
21
- import { Logger } from '@genesislcap/foundation-utils';
26
+ import { Logger } from '@genesislcap/foundation-logger';
22
27
  import { Machine } from '@genesislcap/foundation-state-machine';
23
28
  import type { MachineContext } from '@genesislcap/foundation-state-machine';
29
+ import { MachineContext as MachineContext_2 } from 'xstate';
24
30
  import { Observer } from '@genesislcap/foundation-utils';
31
+ import { ParameterizedObject } from 'xstate';
25
32
  import { PartialFASTElementDefinition } from '@microsoft/fast-element';
33
+ import { PropertyAssigner } from 'xstate';
26
34
  import { RouterConfiguration } from '@microsoft/fast-router';
27
35
  import { Store } from '@genesislcap/foundation-store';
28
36
  import { StoreRoot } from '@genesislcap/foundation-store';
@@ -226,7 +234,7 @@ export declare type AuthFormEntryEventMap = {
226
234
  'auth-password-changed': string;
227
235
  'auth-password2-changed': string;
228
236
  'auth-showPasswords-changed': boolean;
229
- 'auth-selectedIDP-changed': string;
237
+ 'auth-selectedIdp-changed': string;
230
238
  'auth-ssoToggled-changed': boolean;
231
239
  };
232
240
 
@@ -235,21 +243,23 @@ export declare type AuthFormEntryEventMap = {
235
243
  * @public
236
244
  */
237
245
  export declare interface AuthFormEntryStore extends Store {
238
- readonly host: string;
239
246
  readonly organisation: string;
240
247
  readonly username: string;
241
248
  readonly orgUsername: string;
242
249
  readonly email: string;
243
250
  readonly password: string;
251
+ /**
252
+ * @remarks
253
+ * New, confirm etc.
254
+ */
244
255
  readonly password2: string;
245
256
  readonly showPasswords: boolean;
246
257
  readonly hasPasswordExpired: boolean;
247
258
  readonly passwordResetToken: string;
248
- readonly message: string;
249
- readonly hasErrors: boolean;
250
259
  readonly mfaCode: string;
251
- readonly idps: IDP[];
252
- readonly selectedIDP: string;
260
+ readonly idps: Idp[];
261
+ readonly selectedIdp: Idp;
262
+ readonly ssoLoginUrl: string;
253
263
  readonly ssoToggled: boolean;
254
264
  readonly termsAgreed: boolean;
255
265
  readonly autofilling: boolean;
@@ -259,16 +269,16 @@ export declare interface AuthFormEntryStore extends Store {
259
269
  onPasswordChanged(event: CustomEvent<string>): void;
260
270
  onPassword2Changed(event: CustomEvent<string>): void;
261
271
  onShowPasswordsChanged(event: CustomEvent<boolean>): void;
262
- onSelectedIDPChanged(event: CustomEvent<string>): void;
272
+ onSelectedIdpChanged(event: CustomEvent<string>): void;
263
273
  onSSOToggleChanged(event: CustomEvent<boolean>): void;
264
274
  onAutofillForm(event: CustomEvent<void>): void;
265
275
  }
266
276
 
267
277
  /**
268
- * DI key of the store.
278
+ * AuthFormEntryStore DI key.
269
279
  * @internal
270
280
  */
271
- export declare const AuthFormEntryStore: InterfaceSymbol<Key>;
281
+ export declare const AuthFormEntryStore: InterfaceSymbol<AuthFormEntryStore>;
272
282
 
273
283
  /**
274
284
  * AuthMachine interface.
@@ -387,8 +397,8 @@ export declare type AuthMessageMapperLookup = {
387
397
  [MESSAGE_TYPE.CHANGE_PASSWORD]: PasswordManagementMapper;
388
398
  [MESSAGE_TYPE.RESET_PASSWORD]: PasswordManagementMapper;
389
399
  /**
390
- * Generic
391
- * TODO: update these to use a generic mapper
400
+ * Generic (shouldn't really get these)
401
+ * TODO: Update to use a generic mapper, for now let logout mapper surface error
392
402
  */
393
403
  [MESSAGE_TYPE.EVENT_NACK]: LogoutMapper;
394
404
  };
@@ -443,7 +453,7 @@ export declare type AuthRoutes = (typeof AuthRoutes)[keyof typeof AuthRoutes];
443
453
  *
444
454
  * @public
445
455
  */
446
- export declare interface AuthRouting {
456
+ declare interface AuthRouting {
447
457
  /** {@inheritDoc navigateTo} */
448
458
  navigateTo: typeof navigateTo;
449
459
  /** {@inheritDoc getRoutePath} */
@@ -458,7 +468,7 @@ export declare interface AuthRouting {
458
468
  *
459
469
  * @internal
460
470
  */
461
- export declare const AuthRouting: InterfaceSymbol<AuthRouting>;
471
+ declare const AuthRouting: InterfaceSymbol<AuthRouting>;
462
472
 
463
473
  /**
464
474
  * AuthStore interface.
@@ -469,6 +479,8 @@ export declare const AuthRouting: InterfaceSymbol<AuthRouting>;
469
479
  export declare interface AuthStore extends StoreRoot {
470
480
  readonly isPending: boolean;
471
481
  readonly formEntry: AuthFormEntryStore;
482
+ readonly metaMessages: string[];
483
+ readonly errorMessages: string[];
472
484
  /**
473
485
  * Auth workflows and transient state (context in xstate lingo).
474
486
  */
@@ -485,10 +497,10 @@ export declare interface AuthStore extends StoreRoot {
485
497
  }
486
498
 
487
499
  /**
488
- * DI key of the store.
500
+ * AuthStore DI key.
489
501
  * @internal
490
502
  */
491
- export declare const AuthStore: InterfaceSymbol<Key>;
503
+ export declare const AuthStore: InterfaceSymbol<AuthStore>;
492
504
 
493
505
  /**
494
506
  * @public
@@ -786,44 +798,78 @@ export { CredentialType_2 as CredentialType }
786
798
  export declare const defaultAuthConfig: AuthConfig;
787
799
 
788
800
  /**
789
- * Default implementation of the store.
801
+ * Default AuthFormEntryStore.
790
802
  * @public
791
803
  */
792
804
  export declare class DefaultAuthFormEntryStore extends AbstractStore<AuthFormEntryStore, AuthFormEntryEventMap, InternalEventMap> implements AuthFormEntryStore {
793
805
  protected config: AuthConfig;
794
806
  protected credentialManager: CredentialManager;
795
- readonly fetchMachine: FetchMachine;
796
- host: string;
807
+ readonly idpService: IDPService;
808
+ /** {@inheritDoc AuthFormEntryStore.organisation} */
797
809
  organisation: string;
810
+ /** {@inheritDoc AuthFormEntryStore.username} */
798
811
  username: string;
812
+ /** {@inheritDoc AuthFormEntryStore.email} */
799
813
  email: string;
814
+ /** {@inheritDoc AuthFormEntryStore.password} */
800
815
  password: string;
816
+ /** {@inheritDoc AuthFormEntryStore.password2} */
801
817
  password2: string;
818
+ /** {@inheritDoc AuthFormEntryStore.showPasswords} */
802
819
  showPasswords: boolean;
820
+ /** {@inheritDoc AuthFormEntryStore.hasPasswordExpired} */
803
821
  hasPasswordExpired: boolean;
822
+ /** {@inheritDoc AuthFormEntryStore.passwordResetToken} */
804
823
  passwordResetToken: string;
805
- message: string;
806
- hasErrors: boolean;
824
+ /** {@inheritDoc AuthFormEntryStore.mfaCode} */
807
825
  mfaCode: string;
808
- idps: IDP[];
809
- selectedIDP: string;
826
+ /** {@inheritDoc AuthFormEntryStore.idps} */
827
+ idps: Idp[];
828
+ /** {@inheritDoc AuthFormEntryStore.selectedIdp} */
829
+ selectedIdp: Idp;
830
+ /** {@inheritDoc AuthFormEntryStore.ssoToggled} */
810
831
  ssoToggled: boolean;
832
+ /** {@inheritDoc AuthFormEntryStore.termsAgreed} */
811
833
  termsAgreed: boolean;
834
+ /** {@inheritDoc AuthFormEntryStore.autofilling} */
812
835
  autofilling: boolean;
836
+ /** {@inheritDoc AuthFormEntryStore.orgUsername} */
813
837
  get orgUsername(): string;
814
838
  constructor();
839
+ /**
840
+ * @internal
841
+ */
815
842
  protected resetIDPState(): void;
843
+ /**
844
+ * @internal
845
+ */
816
846
  protected autofill(): Promise<boolean>;
847
+ /** {@inheritDoc AuthFormEntryStore.onAutofillForm} */
817
848
  onAutofillForm: EventListener;
849
+ /** {@inheritDoc AuthFormEntryStore.onOrganisationChanged} */
818
850
  onOrganisationChanged: EventListener;
851
+ /** {@inheritDoc AuthFormEntryStore.onUsernameChanged} */
819
852
  onUsernameChanged: EventListener;
853
+ /** {@inheritDoc AuthFormEntryStore.onEmailChanged} */
820
854
  onEmailChanged: EventListener;
855
+ /** {@inheritDoc AuthFormEntryStore.onPasswordChanged} */
821
856
  onPasswordChanged: EventListener;
857
+ /** {@inheritDoc AuthFormEntryStore.onPassword2Changed} */
822
858
  onPassword2Changed: EventListener;
859
+ /** {@inheritDoc AuthFormEntryStore.onShowPasswordsChanged} */
823
860
  onShowPasswordsChanged: EventListener;
824
- onSelectedIDPChanged: EventListener;
861
+ /** {@inheritDoc AuthFormEntryStore.onSelectedIdpChanged} */
862
+ onSelectedIdpChanged: EventListener;
863
+ /** {@inheritDoc AuthFormEntryStore.onSSOToggleChanged} */
825
864
  onSSOToggleChanged: EventListener;
826
- protected ssoToggledChanged(prev: boolean, next: boolean): void;
865
+ /**
866
+ * @privateRemarks
867
+ * Internally observed given constructor assignment.
868
+ * @internal
869
+ */
870
+ protected ssoToggledChanged: (prev: boolean, next: boolean) => Promise<void>;
871
+ /** {@inheritDoc AuthFormEntryStore.ssoLoginUrl} */
872
+ get ssoLoginUrl(): string;
827
873
  }
828
874
 
829
875
  /**
@@ -865,7 +911,7 @@ export declare class DefaultAuthMachine extends AbstractMachine<AuthMachineConte
865
911
  target: string;
866
912
  };
867
913
  };
868
- protected onDoneDTO: () => {
914
+ protected dtoTransition: () => {
869
915
  actions: string[];
870
916
  target: string;
871
917
  };
@@ -889,21 +935,7 @@ export declare class DefaultAuthMessageMapper extends DefaultMessageMapper<AuthM
889
935
  }
890
936
 
891
937
  /**
892
- * Default AuthRouting.
893
- *
894
- * @public
895
- */
896
- export declare class DefaultAuthRouting implements AuthRouting {
897
- /** @internal */
898
- private config;
899
- /** {@inheritDoc AuthRouting.navigateTo} */
900
- navigateTo(route: AuthRoutes | string): void;
901
- /** {@inheritDoc AuthRouting.getRoutePath} */
902
- getRoutePath(route: AuthRoutes | string): string;
903
- }
904
-
905
- /**
906
- * Default implementation of the store.
938
+ * Default AuthStore.
907
939
  * @public
908
940
  */
909
941
  export declare class DefaultAuthStore extends AbstractStoreRoot<AuthStore, AuthEventMap, InternalAuthEventMap> implements AuthStore {
@@ -911,13 +943,24 @@ export declare class DefaultAuthStore extends AbstractStoreRoot<AuthStore, AuthE
911
943
  readonly authMachine: AuthMachine;
912
944
  readonly formEntry: AuthFormEntryStore;
913
945
  constructor(config: AuthConfig, authMachine: AuthMachine, formEntry: AuthFormEntryStore);
946
+ /** {@inheritDoc AuthStore.isPending} */
914
947
  get isPending(): boolean;
948
+ /** {@inheritDoc AuthStore.onMachineEvent} */
915
949
  onMachineEvent: EventListener;
950
+ /** {@inheritDoc AuthStore.onLogin} */
916
951
  onLogin: EventListener;
952
+ /** {@inheritDoc AuthStore.onLogout} */
917
953
  onLogout: EventListener;
954
+ /** {@inheritDoc AuthStore.onChangePassword} */
918
955
  onChangePassword: EventListener;
956
+ /** {@inheritDoc AuthStore.onForgotPassword} */
919
957
  onForgotPassword: EventListener;
958
+ /** {@inheritDoc AuthStore.onResetPassword} */
920
959
  onResetPassword: EventListener;
960
+ /** {@inheritDoc AuthStore.metaMessages} */
961
+ get metaMessages(): string[];
962
+ /** {@inheritDoc AuthStore.errorMessages} */
963
+ get errorMessages(): string[];
921
964
  }
922
965
 
923
966
  /**
@@ -1253,11 +1296,9 @@ export declare interface EVENT_SELF_SERVICE_PASSWORD_RESET extends MESSAGE {
1253
1296
  }
1254
1297
 
1255
1298
  /**
1256
- * Request SSO identity provider list
1257
- *
1258
- * @public
1299
+ * @internal
1259
1300
  */
1260
- export declare const fetchIDPs: (path?: string, host?: string) => Promise<IDP[]>;
1301
+ declare type EventMap = AuthEventMap & Pick<AuthFormEntryEventMap, 'auth-autofill-form'> & {};
1261
1302
 
1262
1303
  /**
1263
1304
  * Do not reference any ../main files here. We must avoid ../tags being referenced and therefore setup pre-configuration.
@@ -1341,6 +1382,10 @@ export declare class FoundationAuth extends FoundationAuth_base {
1341
1382
  * @internal
1342
1383
  */
1343
1384
  container: Container;
1385
+ /**
1386
+ * @internal
1387
+ */
1388
+ protected machineBinding: BindingObserver;
1344
1389
  /**
1345
1390
  * @internal
1346
1391
  */
@@ -1353,6 +1398,14 @@ export declare class FoundationAuth extends FoundationAuth_base {
1353
1398
  * @internal
1354
1399
  */
1355
1400
  protected registerDIDependencies(): void;
1401
+ /**
1402
+ * @internal
1403
+ */
1404
+ protected addBindings(): void;
1405
+ /**
1406
+ * @internal
1407
+ */
1408
+ protected removeBindings(): void;
1356
1409
  /**
1357
1410
  * @internal
1358
1411
  */
@@ -1369,10 +1422,18 @@ export declare class FoundationAuth extends FoundationAuth_base {
1369
1422
  * @internal
1370
1423
  */
1371
1424
  get isReady(): boolean;
1425
+ /**
1426
+ * @internal
1427
+ */
1428
+ get classNames(): string;
1429
+ /**
1430
+ * @internal
1431
+ */
1432
+ attemptAutofill(): void;
1372
1433
  }
1373
1434
 
1374
1435
  declare const FoundationAuth_base: abstract new (...args: any[]) => {
1375
- $emit<K extends "store-connected" | "store-disconnected" | "store-ready" | "auth-machine-event" | "auth-login" | "auth-logout" | "auth-change-password" | "auth-forgot-password" | "auth-reset-password">(...args: AuthEventMap[K] extends void ? [type: K, options?: EmitOptions] : [type: K, detail: AuthEventMap[K], options?: EmitOptions]): EmitReturn;
1436
+ $emit<K extends "auth-autofill-form" | "store-connected" | "store-disconnected" | "store-ready" | "auth-machine-event" | "auth-login" | "auth-logout" | "auth-change-password" | "auth-forgot-password" | "auth-reset-password">(...args: EventMap[K] extends void ? [type: K, options?: EmitOptions] : [type: K, detail: EventMap[K], options?: EmitOptions]): EmitReturn;
1376
1437
  accessKey: string;
1377
1438
  readonly accessKeyLabel: string;
1378
1439
  autocapitalize: string;
@@ -1382,6 +1443,9 @@ declare const FoundationAuth_base: abstract new (...args: any[]) => {
1382
1443
  inert: boolean;
1383
1444
  innerText: string;
1384
1445
  lang: string;
1446
+ /**
1447
+ * @internal
1448
+ */
1385
1449
  readonly offsetHeight: number;
1386
1450
  readonly offsetLeft: number;
1387
1451
  readonly offsetParent: Element;
@@ -1413,7 +1477,9 @@ declare const FoundationAuth_base: abstract new (...args: any[]) => {
1413
1477
  readonly ownerDocument: Document;
1414
1478
  readonly part: DOMTokenList;
1415
1479
  readonly prefix: string;
1416
- readonly scrollHeight: number;
1480
+ readonly scrollHeight: number; /**
1481
+ * @internal
1482
+ */
1417
1483
  scrollLeft: number;
1418
1484
  scrollTop: number;
1419
1485
  readonly scrollWidth: number;
@@ -1701,34 +1767,17 @@ export declare const fromDTOAck: (dto: ACK) => Ack;
1701
1767
  */
1702
1768
  export declare const fromDTONack: (dto: NACK) => Nack;
1703
1769
 
1704
- /**
1705
- * @public
1706
- */
1707
- export declare const fromDTONackErrorWarningArray: (arr: NACK_ERROR_WARNING[]) => NackErrorWarning[];
1708
-
1709
1770
  /**
1710
1771
  * @public
1711
1772
  */
1712
1773
  export declare const fromDTOStringArray: (arr: string[]) => string[];
1713
1774
 
1714
1775
  /**
1715
- * Gets AuthRouting from the DI container.
1716
- *
1717
- * @remarks
1718
- * A utility method for host applications that are not using decorators or the DI container.
1719
- *
1720
- * @example
1721
- * ```ts
1722
- * import { getAuthRouting } from '@genesislcap/foundation-auth/routing';
1723
- * ...
1724
- * private authRouting = getAuthRouting();
1725
- * ...
1726
- * this.authRouting.navigateTo('logout');
1727
- * ```
1728
- *
1776
+ * fromIDPDTO
1777
+ * @param dto - IDP.
1729
1778
  * @public
1730
1779
  */
1731
- export declare function getAuthRouting(): AuthRouting;
1780
+ export declare const fromIDPDTO: (dto: IDP) => Idp;
1732
1781
 
1733
1782
  /**
1734
1783
  * Represents options for retrieving credentials.
@@ -1736,6 +1785,14 @@ export declare function getAuthRouting(): AuthRouting;
1736
1785
  */
1737
1786
  export declare type GetCredentialOptions = CredentialRequestOptions & {};
1738
1787
 
1788
+ /**
1789
+ * getNormalisedText
1790
+ * @param arr - A NackErrorWarning array.
1791
+ * @returns A combined text string.
1792
+ * @internal
1793
+ */
1794
+ export declare const getNormalisedText: (arr: NackErrorWarning[]) => string;
1795
+
1739
1796
  /**
1740
1797
  * A utility to get a sub route path taking the host path into account.
1741
1798
  *
@@ -1746,13 +1803,6 @@ export declare type GetCredentialOptions = CredentialRequestOptions & {};
1746
1803
  */
1747
1804
  export declare function getRoutePath(route: AuthRoutes | string, hostPath?: string): string;
1748
1805
 
1749
- /**
1750
- * Get SSO identity provider login URL
1751
- *
1752
- * @public
1753
- */
1754
- export declare const getSSOLoginURL: (idp: any, path?: string, host?: string) => string;
1755
-
1756
1806
  /**
1757
1807
  * Gets User from the DI container.
1758
1808
  *
@@ -1784,32 +1834,57 @@ export declare const hasDTOErrorWarningCode: (dto: NACK, code: string) => boolea
1784
1834
  * @public
1785
1835
  */
1786
1836
  export declare interface IDP {
1787
- id: string;
1788
- type: string;
1837
+ readonly ID: string;
1838
+ readonly TYPE: string;
1839
+ readonly DESCRIPTION: string;
1789
1840
  }
1790
1841
 
1791
1842
  /**
1792
1843
  * @public
1793
1844
  */
1794
- export declare interface IDPResponse {
1795
- ID: string;
1796
- TYPE: string;
1845
+ export declare interface Idp {
1846
+ readonly id: string;
1847
+ readonly type: string;
1848
+ readonly description: string;
1797
1849
  }
1798
1850
 
1799
1851
  /**
1800
- * includesErrorWarningCode
1852
+ * IDPService interface.
1801
1853
  * @public
1802
1854
  */
1803
- export declare const includesErrorWarningCode: (arr: NACK_ERROR_WARNING[], code: string) => boolean;
1855
+ declare interface IDPService {
1856
+ /**
1857
+ * @param url - Defaults to `SSO_LIST_URL`.
1858
+ */
1859
+ getList(url?: string): Promise<Idp[]>;
1860
+ /**
1861
+ * @param idp - An idp entity.
1862
+ */
1863
+ getLoginUrl(idp: Idp): string;
1864
+ }
1865
+
1866
+ /**
1867
+ * IDPService DI key.
1868
+ * @internal
1869
+ */
1870
+ declare const IDPService: InterfaceSymbol<IDPService>;
1804
1871
 
1805
1872
  declare type InternalAuthEventMap = {};
1806
1873
 
1807
1874
  declare type InternalEventMap = {
1808
1875
  'auth-fetch-idps': void;
1809
- 'auth-fetch-idps-success': IDP[];
1876
+ 'auth-fetch-idps-success': Idp[];
1810
1877
  'auth-fetch-idps-error': Error;
1811
1878
  };
1812
1879
 
1880
+ /**
1881
+ * is200Nack.
1882
+ * @privateRemarks
1883
+ * Required until http status codes are aligned on backend.
1884
+ * @public
1885
+ */
1886
+ export declare const is200Nack: <TOutput = any>(event: EventObject | DoneInvokeEvent<TOutput>) => event is DoneInvokeEvent<TOutput>;
1887
+
1813
1888
  /**
1814
1889
  * isChangePasswordParams.
1815
1890
  * @remarks
@@ -1923,12 +1998,19 @@ export declare const isMappingError: (error: unknown) => error is MappingError;
1923
1998
  export declare function isMFRoute(pathname?: string): boolean;
1924
1999
 
1925
2000
  /**
1926
- * isDTONack.
2001
+ * isNackDTO.
1927
2002
  * @param dto - Potential NACK.
1928
2003
  * @public
1929
2004
  */
1930
2005
  export declare function isNackDTO(dto: unknown): dto is NACK;
1931
2006
 
2007
+ /**
2008
+ * isNackEntity.
2009
+ * @param entity - Potential Nack.
2010
+ * @public
2011
+ */
2012
+ export declare function isNackEntity(entity: unknown): entity is Nack;
2013
+
1932
2014
  /**
1933
2015
  * isQueryParams.
1934
2016
  * @param params - Potential QueryParams.
@@ -2054,6 +2136,8 @@ export declare const LoginMapper: InterfaceSymbol<LoginMapper>;
2054
2136
  */
2055
2137
  export declare interface LoginNack extends Nack {
2056
2138
  readonly refreshAuthToken: string;
2139
+ readonly hasIncorrectCredentials: boolean;
2140
+ readonly maxTriesReached: boolean;
2057
2141
  readonly isMFARequired: boolean;
2058
2142
  readonly hasPasswordExpired: boolean;
2059
2143
  }
@@ -2242,6 +2326,10 @@ export declare interface NACK extends MESSAGE {
2242
2326
  export declare interface Nack extends Message {
2243
2327
  readonly error: NackErrorWarning[];
2244
2328
  readonly warning: NackErrorWarning[];
2329
+ readonly normalisedErrorText: string;
2330
+ readonly normalisedWarningText: string;
2331
+ readonly normalisedErrorStatusCode: number;
2332
+ readonly normalisedWarningStatusCode: number;
2245
2333
  }
2246
2334
 
2247
2335
  /**
@@ -2355,6 +2443,21 @@ export declare type ResetPasswordParams = {
2355
2443
  requester?: string;
2356
2444
  };
2357
2445
 
2446
+ /**
2447
+ * Set error action.
2448
+ * @remarks
2449
+ * Used to set a top level error on the machine. This may equal to {@link @genesislcap/foundation-utils#ErrorMap} `lastError` in the `errors` property.
2450
+ * @public
2451
+ */
2452
+ export declare const setError: {
2453
+ (_: ActionArgs<MachineContext_2, EventObject, ParameterizedObject>): void;
2454
+ type: string;
2455
+ assignment: Assigner<MachineContext_2, EventObject> | PropertyAssigner<MachineContext_2, EventObject>;
2456
+ resolve: (actorContext: AnyActorContext, state: AnyState, actionArgs: ActionArgs<any, any, ParameterizedObject>, { assignment }: {
2457
+ assignment: Assigner<any, any> | PropertyAssigner<any, any>;
2458
+ }) => AnyState[];
2459
+ };
2460
+
2358
2461
  /**
2359
2462
  * Defines the parameters you may set on the routes.
2360
2463
  * @public
@@ -2371,6 +2474,16 @@ export declare type Settings = {
2371
2474
  */
2372
2475
  export declare let SOCKET_URL: string;
2373
2476
 
2477
+ /**
2478
+ * @public
2479
+ */
2480
+ export declare let SSO_LIST_URL: string;
2481
+
2482
+ /**
2483
+ * @public
2484
+ */
2485
+ export declare let SSO_LOGIN_URL: string;
2486
+
2374
2487
  /**
2375
2488
  * @public
2376
2489
  */
@@ -2379,15 +2492,6 @@ export declare type SSOConfig = {
2379
2492
  * Optionally toggle the SSO journey on/off by default.
2380
2493
  */
2381
2494
  toggled?: boolean;
2382
- /**
2383
- * The identity providers path under the current host.
2384
- *
2385
- * @example
2386
- * ```ts
2387
- * identityProvidersPath: 'sso/list'
2388
- * ```
2389
- */
2390
- identityProvidersPath: string;
2391
2495
  };
2392
2496
 
2393
2497
  /**
@@ -2502,14 +2606,14 @@ export declare interface User extends UserPathHistory, UserActionHistory {
2502
2606
  * ```ts
2503
2607
  * import type { UserAuthenticationChangeEvent } from '@genesislcap/foundation-auth/user';
2504
2608
  * ...
2505
- * this.user.addAuthenticationChangeListener((event: UserAuthenticationChangeEvent) => {
2609
+ * const unsubscribe = this.user.addAuthenticationChangeListener((event: UserAuthenticationChangeEvent) => {
2506
2610
  * console.log('User authenticated?', event.detail);
2507
2611
  * });
2508
2612
  * ```
2509
2613
  *
2510
2614
  * @param listener - A listener function.
2511
2615
  */
2512
- addAuthenticationChangeListener(listener: Listener<UserAuthenticationChangeEvent>): void;
2616
+ addAuthenticationChangeListener(listener: Listener<UserAuthenticationChangeEvent>): () => void;
2513
2617
  }
2514
2618
 
2515
2619
  /**
@@ -2674,6 +2778,8 @@ export declare class ZeroAuth extends FoundationAuth {
2674
2778
  protected loadRemotes(): Promise<void>;
2675
2779
  /**
2676
2780
  * @internal
2781
+ * @privateRemarks
2782
+ * The order of the check is important here, check super first.
2677
2783
  */
2678
2784
  get isReady(): boolean;
2679
2785
  }
@@ -16,7 +16,7 @@ export type AuthFormEntryEventMap = {
16
16
  'auth-password-changed': string;
17
17
  'auth-password2-changed': string;
18
18
  'auth-showPasswords-changed': boolean;
19
- 'auth-selectedIDP-changed': string;
19
+ 'auth-selectedIdp-changed': string;
20
20
  'auth-ssoToggled-changed': boolean;
21
21
  };
22
22
  ```
@@ -7,5 +7,5 @@
7
7
  **Signature:**
8
8
 
9
9
  ```typescript
10
- readonly idps: IDP[];
10
+ readonly idps: Idp[];
11
11
  ```
@@ -19,19 +19,17 @@ export interface AuthFormEntryStore extends Store
19
19
  | --- | --- | --- | --- |
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
- | [hasErrors](./foundation-auth.authformentrystore.haserrors.md) | <code>readonly</code> | boolean | |
23
22
  | [hasPasswordExpired](./foundation-auth.authformentrystore.haspasswordexpired.md) | <code>readonly</code> | boolean | |
24
- | [host](./foundation-auth.authformentrystore.host.md) | <code>readonly</code> | string | |
25
- | [idps](./foundation-auth.authformentrystore.idps.md) | <code>readonly</code> | [IDP](./foundation-auth.idp.md)<!-- -->\[\] | |
26
- | [message](./foundation-auth.authformentrystore.message.md) | <code>readonly</code> | string | |
23
+ | [idps](./foundation-auth.authformentrystore.idps.md) | <code>readonly</code> | [Idp](./foundation-auth.idp.md)<!-- -->\[\] | |
27
24
  | [mfaCode](./foundation-auth.authformentrystore.mfacode.md) | <code>readonly</code> | string | |
28
25
  | [organisation](./foundation-auth.authformentrystore.organisation.md) | <code>readonly</code> | string | |
29
26
  | [orgUsername](./foundation-auth.authformentrystore.orgusername.md) | <code>readonly</code> | string | |
30
27
  | [password](./foundation-auth.authformentrystore.password.md) | <code>readonly</code> | string | |
31
28
  | [password2](./foundation-auth.authformentrystore.password2.md) | <code>readonly</code> | string | |
32
29
  | [passwordResetToken](./foundation-auth.authformentrystore.passwordresettoken.md) | <code>readonly</code> | string | |
33
- | [selectedIDP](./foundation-auth.authformentrystore.selectedidp.md) | <code>readonly</code> | string | |
30
+ | [selectedIdp](./foundation-auth.authformentrystore.selectedidp.md) | <code>readonly</code> | [Idp](./foundation-auth.idp.md) | |
34
31
  | [showPasswords](./foundation-auth.authformentrystore.showpasswords.md) | <code>readonly</code> | boolean | |
32
+ | [ssoLoginUrl](./foundation-auth.authformentrystore.ssologinurl.md) | <code>readonly</code> | string | |
35
33
  | [ssoToggled](./foundation-auth.authformentrystore.ssotoggled.md) | <code>readonly</code> | boolean | |
36
34
  | [termsAgreed](./foundation-auth.authformentrystore.termsagreed.md) | <code>readonly</code> | boolean | |
37
35
  | [username](./foundation-auth.authformentrystore.username.md) | <code>readonly</code> | string | |
@@ -45,7 +43,7 @@ export interface AuthFormEntryStore extends Store
45
43
  | [onOrganisationChanged(event)](./foundation-auth.authformentrystore.onorganisationchanged.md) | |
46
44
  | [onPassword2Changed(event)](./foundation-auth.authformentrystore.onpassword2changed.md) | |
47
45
  | [onPasswordChanged(event)](./foundation-auth.authformentrystore.onpasswordchanged.md) | |
48
- | [onSelectedIDPChanged(event)](./foundation-auth.authformentrystore.onselectedidpchanged.md) | |
46
+ | [onSelectedIdpChanged(event)](./foundation-auth.authformentrystore.onselectedidpchanged.md) | |
49
47
  | [onShowPasswordsChanged(event)](./foundation-auth.authformentrystore.onshowpasswordschanged.md) | |
50
48
  | [onSSOToggleChanged(event)](./foundation-auth.authformentrystore.onssotogglechanged.md) | |
51
49
  | [onUsernameChanged(event)](./foundation-auth.authformentrystore.onusernamechanged.md) | |
@@ -1,13 +1,13 @@
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; [AuthFormEntryStore](./foundation-auth.authformentrystore.md) &gt; [onSelectedIDPChanged](./foundation-auth.authformentrystore.onselectedidpchanged.md)
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-auth](./foundation-auth.md) &gt; [AuthFormEntryStore](./foundation-auth.authformentrystore.md) &gt; [onSelectedIdpChanged](./foundation-auth.authformentrystore.onselectedidpchanged.md)
4
4
 
5
- ## AuthFormEntryStore.onSelectedIDPChanged() method
5
+ ## AuthFormEntryStore.onSelectedIdpChanged() method
6
6
 
7
7
  **Signature:**
8
8
 
9
9
  ```typescript
10
- onSelectedIDPChanged(event: CustomEvent<string>): void;
10
+ onSelectedIdpChanged(event: CustomEvent<string>): void;
11
11
  ```
12
12
 
13
13
  ## Parameters