@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
@@ -9,26 +9,34 @@
9
9
  import { AbstractMachine } from '@genesislcap/foundation-state-machine';
10
10
  import { AbstractStore } from '@genesislcap/foundation-store';
11
11
  import { AbstractStoreRoot } from '@genesislcap/foundation-store';
12
+ import { ActionArgs } from 'xstate';
13
+ import { AnyActorContext } from 'xstate';
14
+ import { AnyState } from 'xstate';
15
+ import { Assigner } from 'xstate';
16
+ import { BindingObserver } from '@microsoft/fast-element';
12
17
  import { ComposableStyles } from '@microsoft/fast-element';
13
18
  import { Constructable } from '@microsoft/fast-element';
14
19
  import { Container } from '@microsoft/fast-foundation';
15
20
  import { Controller } from '@microsoft/fast-element';
16
- import type { DoneInvokeEvent } from 'xstate';
21
+ import { DoneInvokeEvent } from 'xstate';
17
22
  import { ElementStyles } from '@microsoft/fast-element';
18
23
  import { EmitOptions } from '@genesislcap/foundation-events';
19
24
  import { EmitReturn } from '@genesislcap/foundation-events';
20
25
  import type { ErrorEvent as ErrorEvent_2 } from 'xstate';
26
+ import { EventObject } from 'xstate';
21
27
  import { FetchMachine } from '@genesislcap/foundation-state-machine';
22
28
  import { FetchMachineEvent } from '@genesislcap/foundation-state-machine';
23
29
  import { InterfaceSymbol } from '@microsoft/fast-foundation';
24
30
  import type { InterpreterOptions } from 'xstate';
25
- import { Key } from '@microsoft/fast-foundation';
26
31
  import { Listener } from '@genesislcap/foundation-utils';
27
- import { Logger } from '@genesislcap/foundation-utils';
32
+ import { Logger } from '@genesislcap/foundation-logger';
28
33
  import { Machine } from '@genesislcap/foundation-state-machine';
29
34
  import type { MachineContext } from '@genesislcap/foundation-state-machine';
35
+ import { MachineContext as MachineContext_2 } from 'xstate';
30
36
  import { Observer } from '@genesislcap/foundation-utils';
37
+ import { ParameterizedObject } from 'xstate';
31
38
  import { PartialFASTElementDefinition } from '@microsoft/fast-element';
39
+ import { PropertyAssigner } from 'xstate';
32
40
  import { RouterConfiguration } from '@microsoft/fast-router';
33
41
  import { Store } from '@genesislcap/foundation-store';
34
42
  import { StoreRoot } from '@genesislcap/foundation-store';
@@ -103,7 +111,7 @@ export type AuthFormEntryEventMap = {
103
111
  'auth-password-changed': string;
104
112
  'auth-password2-changed': string;
105
113
  'auth-showPasswords-changed': boolean;
106
- 'auth-selectedIDP-changed': string;
114
+ 'auth-selectedIdp-changed': string;
107
115
  'auth-ssoToggled-changed': boolean;
108
116
  };
109
117
 
@@ -116,15 +124,9 @@ export interface AuthFormEntryStore extends Store {
116
124
  // (undocumented)
117
125
  readonly email: string;
118
126
  // (undocumented)
119
- readonly hasErrors: boolean;
120
- // (undocumented)
121
127
  readonly hasPasswordExpired: boolean;
122
128
  // (undocumented)
123
- readonly host: string;
124
- // (undocumented)
125
- readonly idps: IDP[];
126
- // (undocumented)
127
- readonly message: string;
129
+ readonly idps: Idp[];
128
130
  // (undocumented)
129
131
  readonly mfaCode: string;
130
132
  // (undocumented)
@@ -138,7 +140,7 @@ export interface AuthFormEntryStore extends Store {
138
140
  // (undocumented)
139
141
  onPasswordChanged(event: CustomEvent<string>): void;
140
142
  // (undocumented)
141
- onSelectedIDPChanged(event: CustomEvent<string>): void;
143
+ onSelectedIdpChanged(event: CustomEvent<string>): void;
142
144
  // (undocumented)
143
145
  onShowPasswordsChanged(event: CustomEvent<boolean>): void;
144
146
  // (undocumented)
@@ -156,10 +158,12 @@ export interface AuthFormEntryStore extends Store {
156
158
  // (undocumented)
157
159
  readonly passwordResetToken: string;
158
160
  // (undocumented)
159
- readonly selectedIDP: string;
161
+ readonly selectedIdp: Idp;
160
162
  // (undocumented)
161
163
  readonly showPasswords: boolean;
162
164
  // (undocumented)
165
+ readonly ssoLoginUrl: string;
166
+ // (undocumented)
163
167
  readonly ssoToggled: boolean;
164
168
  // (undocumented)
165
169
  readonly termsAgreed: boolean;
@@ -168,7 +172,7 @@ export interface AuthFormEntryStore extends Store {
168
172
  }
169
173
 
170
174
  // @internal
171
- export const AuthFormEntryStore: InterfaceSymbol<Key>;
175
+ export const AuthFormEntryStore: InterfaceSymbol<AuthFormEntryStore>;
172
176
 
173
177
  // Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "AuthMachine" because one of its declarations is marked as @internal
174
178
  //
@@ -262,30 +266,20 @@ export const AuthRoutes: {
262
266
  // @public (undocumented)
263
267
  export type AuthRoutes = (typeof AuthRoutes)[keyof typeof AuthRoutes];
264
268
 
265
- // Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "AuthRouting" because one of its declarations is marked as @internal
266
- //
267
- // @public
268
- export interface AuthRouting {
269
- getRoutePath: typeof getRoutePath;
270
- // Warning: (ae-incompatible-release-tags) The symbol "navigateTo" is marked as @public, but its signature references "navigateTo" which is marked as @internal
271
- //
272
- // (undocumented)
273
- navigateTo: typeof navigateTo;
274
- }
275
-
276
- // @internal
277
- export const AuthRouting: InterfaceSymbol<AuthRouting>;
278
-
279
269
  // Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "AuthStore" because one of its declarations is marked as @internal
280
270
  //
281
271
  // @public
282
272
  export interface AuthStore extends StoreRoot {
283
273
  readonly authMachine: AuthMachine;
284
274
  // (undocumented)
275
+ readonly errorMessages: string[];
276
+ // (undocumented)
285
277
  readonly formEntry: AuthFormEntryStore;
286
278
  // (undocumented)
287
279
  readonly isPending: boolean;
288
280
  // (undocumented)
281
+ readonly metaMessages: string[];
282
+ // (undocumented)
289
283
  onChangePassword(event: CustomEvent<ChangePasswordParams>): void;
290
284
  // (undocumented)
291
285
  onForgotPassword(event: CustomEvent<ForgotPasswordParams>): void;
@@ -300,7 +294,7 @@ export interface AuthStore extends StoreRoot {
300
294
  }
301
295
 
302
296
  // @internal
303
- export const AuthStore: InterfaceSymbol<Key>;
297
+ export const AuthStore: InterfaceSymbol<AuthStore>;
304
298
 
305
299
  // @public (undocumented)
306
300
  export type BasicCredentials = {
@@ -413,76 +407,125 @@ export const defaultAuthConfig: AuthConfig;
413
407
  // @public
414
408
  export class DefaultAuthFormEntryStore extends AbstractStore<AuthFormEntryStore, AuthFormEntryEventMap, InternalEventMap> implements AuthFormEntryStore {
415
409
  constructor();
416
- // (undocumented)
410
+ // @internal (undocumented)
417
411
  protected autofill(): Promise<boolean>;
412
+ // 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
413
+ //
418
414
  // (undocumented)
419
415
  autofilling: boolean;
420
416
  // (undocumented)
421
417
  protected config: AuthConfig;
422
418
  // (undocumented)
423
419
  protected credentialManager: CredentialManager;
420
+ // 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
421
+ //
424
422
  // (undocumented)
425
423
  email: string;
426
- // (undocumented)
427
- readonly fetchMachine: FetchMachine;
428
- // (undocumented)
429
- hasErrors: boolean;
424
+ // 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
425
+ //
430
426
  // (undocumented)
431
427
  hasPasswordExpired: boolean;
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
+ //
432
430
  // (undocumented)
433
- host: string;
434
- // (undocumented)
435
- idps: IDP[];
431
+ idps: Idp[];
432
+ // Warning: (ae-forgotten-export) The symbol "IDPService" needs to be exported by the entry point index.d.ts
433
+ //
436
434
  // (undocumented)
437
- message: string;
435
+ readonly idpService: IDPService;
436
+ // 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
437
+ //
438
438
  // (undocumented)
439
439
  mfaCode: string;
440
+ // 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
441
+ //
440
442
  // (undocumented)
441
443
  onAutofillForm: EventListener;
444
+ // 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
445
+ //
442
446
  // (undocumented)
443
447
  onEmailChanged: EventListener;
448
+ // 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
449
+ //
444
450
  // (undocumented)
445
451
  onOrganisationChanged: EventListener;
452
+ // 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
453
+ //
446
454
  // (undocumented)
447
455
  onPassword2Changed: EventListener;
456
+ // 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
457
+ //
448
458
  // (undocumented)
449
459
  onPasswordChanged: EventListener;
460
+ // 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
461
+ //
450
462
  // (undocumented)
451
- onSelectedIDPChanged: EventListener;
463
+ onSelectedIdpChanged: EventListener;
464
+ // 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
465
+ //
452
466
  // (undocumented)
453
467
  onShowPasswordsChanged: EventListener;
468
+ // 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
469
+ //
454
470
  // (undocumented)
455
471
  onSSOToggleChanged: EventListener;
472
+ // 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
473
+ //
456
474
  // (undocumented)
457
475
  onUsernameChanged: EventListener;
476
+ // 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
477
+ //
458
478
  // (undocumented)
459
479
  organisation: string;
480
+ // 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
481
+ //
460
482
  // (undocumented)
461
483
  get orgUsername(): string;
484
+ // 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
485
+ //
462
486
  // (undocumented)
463
487
  password: string;
488
+ // 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
489
+ //
464
490
  // (undocumented)
465
491
  password2: string;
492
+ // 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
493
+ //
466
494
  // (undocumented)
467
495
  passwordResetToken: string;
468
- // (undocumented)
496
+ // @internal (undocumented)
469
497
  protected resetIDPState(): void;
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
+ //
470
500
  // (undocumented)
471
- selectedIDP: string;
501
+ selectedIdp: Idp;
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
+ //
472
504
  // (undocumented)
473
505
  showPasswords: boolean;
506
+ // 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
507
+ //
474
508
  // (undocumented)
475
- ssoToggled: boolean;
509
+ get ssoLoginUrl(): string;
510
+ // 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
511
+ //
476
512
  // (undocumented)
477
- protected ssoToggledChanged(prev: boolean, next: boolean): void;
513
+ ssoToggled: boolean;
514
+ // @internal (undocumented)
515
+ protected ssoToggledChanged: (prev: boolean, next: boolean) => Promise<void>;
516
+ // 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
517
+ //
478
518
  // (undocumented)
479
519
  termsAgreed: boolean;
520
+ // 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
521
+ //
480
522
  // (undocumented)
481
523
  username: string;
482
524
  }
483
525
 
484
526
  // @public
485
527
  export class DefaultAuthMachine extends AbstractMachine<AuthMachineContext, AuthMachineEvent> implements AuthMachine {
528
+ // Warning: (ae-forgotten-export) The symbol "AuthRouting" needs to be exported by the entry point index.d.ts
486
529
  constructor(user: User, fetchMachine: FetchMachine, cm: CredentialManager, uuid: UUID, messageMapper: AuthMessageMapper, config: AuthConfig, routing: AuthRouting);
487
530
  // (undocumented)
488
531
  protected captureAuthQueryParams(): QueryParams;
@@ -490,12 +533,12 @@ export class DefaultAuthMachine extends AbstractMachine<AuthMachineContext, Auth
490
533
  protected convertQueryParamsToLoginParams(params: QueryParams): LoginParams;
491
534
  // (undocumented)
492
535
  protected createFetchMachineEvent(url: string, msg?: {}): FetchMachineEvent;
493
- getFromContainer(): this;
494
536
  // (undocumented)
495
- protected onDoneDTO: () => {
537
+ protected dtoTransition: () => {
496
538
  actions: string[];
497
539
  target: string;
498
540
  };
541
+ getFromContainer(): this;
499
542
  // (undocumented)
500
543
  protected onIdleEvents: () => {
501
544
  login: {
@@ -533,18 +576,6 @@ export class DefaultAuthMessageMapper extends DefaultMessageMapper<AuthMessageMa
533
576
  protected passwordMapper: PasswordManagementMapper;
534
577
  }
535
578
 
536
- // @public
537
- export class DefaultAuthRouting implements AuthRouting {
538
- // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "AuthRouting" has more than one declaration; you need to add a TSDoc member reference selector
539
- //
540
- // (undocumented)
541
- getRoutePath(route: AuthRoutes | string): string;
542
- // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "AuthRouting" has more than one declaration; you need to add a TSDoc member reference selector
543
- //
544
- // (undocumented)
545
- navigateTo(route: AuthRoutes | string): void;
546
- }
547
-
548
579
  // Warning: (ae-forgotten-export) The symbol "InternalAuthEventMap" needs to be exported by the entry point index.d.ts
549
580
  //
550
581
  // @public
@@ -554,20 +585,42 @@ export class DefaultAuthStore extends AbstractStoreRoot<AuthStore, AuthEventMap,
554
585
  readonly authMachine: AuthMachine;
555
586
  // (undocumented)
556
587
  readonly config: AuthConfig;
588
+ // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "AuthStore" has more than one declaration; you need to add a TSDoc member reference selector
589
+ //
590
+ // (undocumented)
591
+ get errorMessages(): string[];
557
592
  // (undocumented)
558
593
  readonly formEntry: AuthFormEntryStore;
594
+ // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "AuthStore" has more than one declaration; you need to add a TSDoc member reference selector
595
+ //
559
596
  // (undocumented)
560
597
  get isPending(): boolean;
598
+ // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "AuthStore" has more than one declaration; you need to add a TSDoc member reference selector
599
+ //
600
+ // (undocumented)
601
+ get metaMessages(): string[];
602
+ // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "AuthStore" has more than one declaration; you need to add a TSDoc member reference selector
603
+ //
561
604
  // (undocumented)
562
605
  onChangePassword: EventListener;
606
+ // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "AuthStore" has more than one declaration; you need to add a TSDoc member reference selector
607
+ //
563
608
  // (undocumented)
564
609
  onForgotPassword: EventListener;
610
+ // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "AuthStore" has more than one declaration; you need to add a TSDoc member reference selector
611
+ //
565
612
  // (undocumented)
566
613
  onLogin: EventListener;
614
+ // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "AuthStore" has more than one declaration; you need to add a TSDoc member reference selector
615
+ //
567
616
  // (undocumented)
568
617
  onLogout: EventListener;
618
+ // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "AuthStore" has more than one declaration; you need to add a TSDoc member reference selector
619
+ //
569
620
  // (undocumented)
570
621
  onMachineEvent: EventListener;
622
+ // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "AuthStore" has more than one declaration; you need to add a TSDoc member reference selector
623
+ //
571
624
  // (undocumented)
572
625
  onResetPassword: EventListener;
573
626
  }
@@ -870,9 +923,6 @@ export interface EVENT_SELF_SERVICE_PASSWORD_RESET extends MESSAGE {
870
923
  readonly USER_NAME: string;
871
924
  }
872
925
 
873
- // @public
874
- export const fetchIDPs: (path?: string, host?: string) => Promise<IDP[]>;
875
-
876
926
  // @public
877
927
  export type FieldConfig = {
878
928
  label: string;
@@ -904,9 +954,15 @@ export type ForgotPasswordParams = {
904
954
  //
905
955
  // @public
906
956
  export class FoundationAuth extends FoundationAuth_base {
957
+ // @internal (undocumented)
958
+ protected addBindings(): void;
907
959
  // @internal (undocumented)
908
960
  protected addEventListeners(): void;
909
961
  // @internal (undocumented)
962
+ attemptAutofill(): void;
963
+ // @internal (undocumented)
964
+ get classNames(): string;
965
+ // @internal (undocumented)
910
966
  config: AuthRouterConfig;
911
967
  // @internal (undocumented)
912
968
  connectedCallback(): void;
@@ -917,10 +973,14 @@ export class FoundationAuth extends FoundationAuth_base {
917
973
  // @internal (undocumented)
918
974
  get isReady(): boolean;
919
975
  // @internal (undocumented)
976
+ protected machineBinding: BindingObserver;
977
+ // @internal (undocumented)
920
978
  protected readyStore(): void;
921
979
  // @internal (undocumented)
922
980
  protected registerDIDependencies(): void;
923
981
  // @internal (undocumented)
982
+ protected removeBindings(): void;
983
+ // @internal (undocumented)
924
984
  protected removeEventListeners(): void;
925
985
  // @internal (undocumented)
926
986
  store: AuthStore;
@@ -938,26 +998,22 @@ export const fromDTOAck: (dto: ACK) => Ack;
938
998
  // @public
939
999
  export const fromDTONack: (dto: NACK) => Nack;
940
1000
 
941
- // Warning: (ae-incompatible-release-tags) The symbol "fromDTONackErrorWarningArray" is marked as @public, but its signature references "NACK_ERROR_WARNING" which is marked as @internal
942
- // Warning: (ae-incompatible-release-tags) The symbol "fromDTONackErrorWarningArray" is marked as @public, but its signature references "NackErrorWarning" which is marked as @internal
943
- //
944
- // @public (undocumented)
945
- export const fromDTONackErrorWarningArray: (arr: NACK_ERROR_WARNING[]) => NackErrorWarning[];
946
-
947
1001
  // @public (undocumented)
948
1002
  export const fromDTOStringArray: (arr: string[]) => string[];
949
1003
 
950
1004
  // @public
951
- export function getAuthRouting(): AuthRouting;
1005
+ export const fromIDPDTO: (dto: IDP) => Idp;
952
1006
 
953
1007
  // @public
954
1008
  export type GetCredentialOptions = CredentialRequestOptions & {};
955
1009
 
956
- // @public
957
- export function getRoutePath(route: AuthRoutes | string, hostPath?: string): string;
1010
+ // Warning: (ae-internal-missing-underscore) The name "getNormalisedText" should be prefixed with an underscore because the declaration is marked as @internal
1011
+ //
1012
+ // @internal
1013
+ export const getNormalisedText: (arr: NackErrorWarning[]) => string;
958
1014
 
959
1015
  // @public
960
- export const getSSOLoginURL: (idp: any, path?: string, host?: string) => string;
1016
+ export function getRoutePath(route: AuthRoutes | string, hostPath?: string): string;
961
1017
 
962
1018
  // @public
963
1019
  export function getUser(): User;
@@ -970,23 +1026,25 @@ export const hasDTOErrorWarningCode: (dto: NACK, code: string) => boolean;
970
1026
  // @public (undocumented)
971
1027
  export interface IDP {
972
1028
  // (undocumented)
973
- id: string;
1029
+ readonly DESCRIPTION: string;
974
1030
  // (undocumented)
975
- type: string;
1031
+ readonly ID: string;
1032
+ // (undocumented)
1033
+ readonly TYPE: string;
976
1034
  }
977
1035
 
978
1036
  // @public (undocumented)
979
- export interface IDPResponse {
1037
+ export interface Idp {
1038
+ // (undocumented)
1039
+ readonly description: string;
980
1040
  // (undocumented)
981
- ID: string;
1041
+ readonly id: string;
982
1042
  // (undocumented)
983
- TYPE: string;
1043
+ readonly type: string;
984
1044
  }
985
1045
 
986
- // Warning: (ae-incompatible-release-tags) The symbol "includesErrorWarningCode" is marked as @public, but its signature references "NACK_ERROR_WARNING" which is marked as @internal
987
- //
988
1046
  // @public
989
- export const includesErrorWarningCode: (arr: NACK_ERROR_WARNING[], code: string) => boolean;
1047
+ export const is200Nack: <TOutput = any>(event: EventObject | DoneInvokeEvent<TOutput>) => event is DoneInvokeEvent<TOutput>;
990
1048
 
991
1049
  // @public
992
1050
  export function isChangePasswordParams(params: AuthMachineEventParams): params is ChangePasswordParams;
@@ -1038,6 +1096,11 @@ export function isMFRoute(pathname?: string): boolean;
1038
1096
  // @public
1039
1097
  export function isNackDTO(dto: unknown): dto is NACK;
1040
1098
 
1099
+ // Warning: (ae-incompatible-release-tags) The symbol "isNackEntity" is marked as @public, but its signature references "Nack" which is marked as @internal
1100
+ //
1101
+ // @public
1102
+ export function isNackEntity(entity: unknown): entity is Nack;
1103
+
1041
1104
  // @public
1042
1105
  export function isQueryParams(params: AuthMachineEventParams): params is QueryParams;
1043
1106
 
@@ -1112,11 +1175,15 @@ export const LoginMapper: InterfaceSymbol<LoginMapper>;
1112
1175
  //
1113
1176
  // @public (undocumented)
1114
1177
  export interface LoginNack extends Nack {
1178
+ // (undocumented)
1179
+ readonly hasIncorrectCredentials: boolean;
1115
1180
  // (undocumented)
1116
1181
  readonly hasPasswordExpired: boolean;
1117
1182
  // (undocumented)
1118
1183
  readonly isMFARequired: boolean;
1119
1184
  // (undocumented)
1185
+ readonly maxTriesReached: boolean;
1186
+ // (undocumented)
1120
1187
  readonly refreshAuthToken: string;
1121
1188
  }
1122
1189
 
@@ -1251,6 +1318,14 @@ export interface Nack extends Message {
1251
1318
  // (undocumented)
1252
1319
  readonly error: NackErrorWarning[];
1253
1320
  // (undocumented)
1321
+ readonly normalisedErrorStatusCode: number;
1322
+ // (undocumented)
1323
+ readonly normalisedErrorText: string;
1324
+ // (undocumented)
1325
+ readonly normalisedWarningStatusCode: number;
1326
+ // (undocumented)
1327
+ readonly normalisedWarningText: string;
1328
+ // (undocumented)
1254
1329
  readonly warning: NackErrorWarning[];
1255
1330
  }
1256
1331
 
@@ -1334,6 +1409,16 @@ export type ResetPasswordParams = {
1334
1409
  requester?: string;
1335
1410
  };
1336
1411
 
1412
+ // @public
1413
+ export const setError: {
1414
+ (_: ActionArgs<MachineContext_2, EventObject, ParameterizedObject>): void;
1415
+ type: string;
1416
+ assignment: Assigner<MachineContext_2, EventObject> | PropertyAssigner<MachineContext_2, EventObject>;
1417
+ resolve: (actorContext: AnyActorContext, state: AnyState, actionArgs: ActionArgs<any, any, ParameterizedObject>, { assignment }: {
1418
+ assignment: Assigner<any, any> | PropertyAssigner<any, any>;
1419
+ }) => AnyState[];
1420
+ };
1421
+
1337
1422
  // @public
1338
1423
  export type Settings = {
1339
1424
  public?: boolean;
@@ -1342,10 +1427,15 @@ export type Settings = {
1342
1427
  // @public (undocumented)
1343
1428
  export let SOCKET_URL: string;
1344
1429
 
1430
+ // @public (undocumented)
1431
+ export let SSO_LIST_URL: string;
1432
+
1433
+ // @public (undocumented)
1434
+ export let SSO_LOGIN_URL: string;
1435
+
1345
1436
  // @public (undocumented)
1346
1437
  export type SSOConfig = {
1347
1438
  toggled?: boolean;
1348
- identityProvidersPath: string;
1349
1439
  };
1350
1440
 
1351
1441
  // @public (undocumented)
@@ -1371,7 +1461,7 @@ export const template: ViewTemplate<FoundationAuth, any>;
1371
1461
  // @public
1372
1462
  export interface User extends UserPathHistory, UserActionHistory {
1373
1463
  // (undocumented)
1374
- addAuthenticationChangeListener(listener: Listener<UserAuthenticationChangeEvent>): void;
1464
+ addAuthenticationChangeListener(listener: Listener<UserAuthenticationChangeEvent>): () => void;
1375
1465
  // (undocumented)
1376
1466
  readonly details: Details;
1377
1467
  // (undocumented)
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-auth",
3
3
  "description": "Genesis Foundation Auth",
4
- "version": "14.71.1-auth-mf.21",
4
+ "version": "14.103.0-auth-mf.23",
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
- "we still keeping these": "discuss?",
10
9
  "PORT": 5030
11
10
  },
12
11
  "genx": {
@@ -99,18 +98,19 @@
99
98
  }
100
99
  },
101
100
  "devDependencies": {
102
- "@genesislcap/foundation-testing": "14.71.1-auth-mf.21",
103
- "@genesislcap/genx": "14.71.1-auth-mf.21",
101
+ "@genesislcap/foundation-testing": "14.103.0-auth-mf.23",
102
+ "@genesislcap/genx": "14.103.0-auth-mf.23",
104
103
  "rimraf": "^3.0.2"
105
104
  },
106
105
  "dependencies": {
107
- "@genesislcap/foundation-comms": "14.71.1-auth-mf.21",
108
- "@genesislcap/foundation-events": "14.71.1-auth-mf.21",
109
- "@genesislcap/foundation-state-machine": "14.71.1-auth-mf.21",
110
- "@genesislcap/foundation-store": "14.71.1-auth-mf.21",
111
- "@genesislcap/foundation-ui": "14.71.1-auth-mf.21",
112
- "@genesislcap/foundation-utils": "14.71.1-auth-mf.21",
113
- "@genesislcap/foundation-zero": "14.71.1-auth-mf.21",
106
+ "@genesislcap/foundation-comms": "14.103.0-auth-mf.23",
107
+ "@genesislcap/foundation-events": "14.103.0-auth-mf.23",
108
+ "@genesislcap/foundation-logger": "14.103.0-auth-mf.23",
109
+ "@genesislcap/foundation-state-machine": "14.103.0-auth-mf.23",
110
+ "@genesislcap/foundation-store": "14.103.0-auth-mf.23",
111
+ "@genesislcap/foundation-ui": "14.103.0-auth-mf.23",
112
+ "@genesislcap/foundation-utils": "14.103.0-auth-mf.23",
113
+ "@genesislcap/foundation-zero": "14.103.0-auth-mf.23",
114
114
  "@microsoft/fast-components": "^2.21.3",
115
115
  "@microsoft/fast-element": "^1.7.0",
116
116
  "@microsoft/fast-foundation": "^2.33.2",
@@ -130,6 +130,5 @@
130
130
  "publishConfig": {
131
131
  "access": "public"
132
132
  },
133
- "customElements": "dist/custom-elements.json",
134
- "gitHead": "58a5860a945b1f1c770ec1e6d1187faf1df2d453"
133
+ "gitHead": "66e311fb26ce45f26e0083e7075e73948e1765e9"
135
134
  }
@@ -1,27 +0,0 @@
1
- /**
2
- * Get SSO identity provider login URL
3
- *
4
- * @public
5
- */
6
- export declare const getSSOLoginURL: (idp: any, path?: string, host?: string) => string;
7
- /**
8
- * @public
9
- */
10
- export interface IDP {
11
- id: string;
12
- type: string;
13
- }
14
- /**
15
- * @public
16
- */
17
- export interface IDPResponse {
18
- ID: string;
19
- TYPE: string;
20
- }
21
- /**
22
- * Request SSO identity provider list
23
- *
24
- * @public
25
- */
26
- export declare const fetchIDPs: (path?: string, host?: string) => Promise<IDP[]>;
27
- //# sourceMappingURL=sso.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sso.d.ts","sourceRoot":"","sources":["../../../src/utils/sso.ts"],"names":[],"mappings":"AAkBA;;;;GAIG;AACH,eAAO,MAAM,cAAc,oDAK1B,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;;GAIG;AACH,eAAO,MAAM,SAAS,oCAA+C,QAAQ,GAAG,EAAE,CAkBjF,CAAC"}