@authing/react-ui-components 2.4.56 → 2.4.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -395,13 +395,18 @@ declare module '@authing/react-ui-components/components/AuthingGuard/ToggleLang/
395
395
 
396
396
  }
397
397
  declare module '@authing/react-ui-components/components/AuthingGuard/api/appConfig' {
398
- import { Lang, Protocol } from '@authing/react-ui-components/components/AuthingGuard/types/index';
398
+ import { Lang, LoginMethods, Protocol } from '@authing/react-ui-components/components/AuthingGuard/types/index';
399
399
  import { IAzureAdConnectionConfig, ICasConnectionConfig, ISamlConnectionConfig, OIDCConnectionConfig, SocialConnectionItem } from '@authing/react-ui-components/components/AuthingGuard/api/userPoolConfig';
400
400
  export enum ApplicationMfaType {
401
401
  SMS = "SMS",
402
402
  EMAIL = "EMAIL"
403
403
  }
404
404
  export const ApplicationMfaTypeLabel: () => Record<ApplicationMfaType, string>;
405
+ export type QrcodeTabsSettings = Record<LoginMethods, {
406
+ id: string;
407
+ title: string;
408
+ isDefault?: boolean;
409
+ }>;
405
410
  export interface OidcClientMetadata {
406
411
  grant_types: string[];
407
412
  client_id: string;
@@ -452,6 +457,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
452
457
  [x: string]: string;
453
458
  };
454
459
  };
460
+ qrcodeTabsSettings: QrcodeTabsSettings;
455
461
  loginTabs: {
456
462
  list: string[];
457
463
  default: string;
@@ -822,7 +828,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/types/Forms
822
828
  declare module '@authing/react-ui-components/components/AuthingGuard/types/GuardConfig' {
823
829
  import { AuthenticationClient, AuthenticationClientOptions, CommonMessage, SocialConnectionProvider, User } from 'authing-js-sdk';
824
830
  import { QrCodeAuthenticationClient } from 'authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient';
825
- import { SocialConnectionItem, EnterpriseConnectionItem, ApplicationConfig, PasswordLoginMethods, Agreement } from '@authing/react-ui-components/components/AuthingGuard/api/index';
831
+ import { SocialConnectionItem, EnterpriseConnectionItem, ApplicationConfig, PasswordLoginMethods, Agreement, QrcodeTabsSettings } from '@authing/react-ui-components/components/AuthingGuard/api/index';
826
832
  import { Lang } from '@authing/react-ui-components/components/AuthingGuard/types/Locales';
827
833
  export type { AuthenticationClient, CommonMessage, User } from 'authing-js-sdk';
828
834
  export enum GuardMode {
@@ -1053,6 +1059,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/types/Guard
1053
1059
  publicKey: ApplicationConfig['publicKey'];
1054
1060
  agreementEnabled: boolean;
1055
1061
  agreements: Agreement[];
1062
+ qrcodeTabsSettings: QrcodeTabsSettings;
1056
1063
  }
1057
1064
  export interface LocalesConfig {
1058
1065
  defaultLang?: Lang;