@faable/auth-sdk 2.5.73 → 2.5.74

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.
@@ -49,6 +49,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
49
49
  email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
50
50
  login_methods?: {
51
51
  order?: string[] | undefined;
52
+ disabled_connections?: string[] | undefined;
52
53
  passkey_login_enabled?: boolean | undefined;
53
54
  identifier_first?: boolean | undefined;
54
55
  remember_last_method?: boolean | undefined;
@@ -727,6 +728,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
727
728
  frontchannel_logout_session_required?: boolean | undefined;
728
729
  login_methods?: {
729
730
  order?: string[] | undefined;
731
+ disabled_connections?: string[] | undefined;
730
732
  passkey_login_enabled?: boolean | undefined;
731
733
  identifier_first?: boolean | undefined;
732
734
  remember_last_method?: boolean | undefined;
@@ -775,6 +777,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
775
777
  frontchannel_logout_session_required?: boolean | undefined;
776
778
  login_methods?: {
777
779
  order?: string[] | undefined;
780
+ disabled_connections?: string[] | undefined;
778
781
  passkey_login_enabled?: boolean | undefined;
779
782
  identifier_first?: boolean | undefined;
780
783
  remember_last_method?: boolean | undefined;
@@ -826,6 +829,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
826
829
  frontchannel_logout_session_required?: boolean | undefined;
827
830
  login_methods?: {
828
831
  order?: string[] | undefined;
832
+ disabled_connections?: string[] | undefined;
829
833
  passkey_login_enabled?: boolean | undefined;
830
834
  identifier_first?: boolean | undefined;
831
835
  remember_last_method?: boolean | undefined;
@@ -876,6 +880,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
876
880
  frontchannel_logout_session_required?: boolean | undefined;
877
881
  login_methods?: {
878
882
  order?: string[] | undefined;
883
+ disabled_connections?: string[] | undefined;
879
884
  passkey_login_enabled?: boolean | undefined;
880
885
  identifier_first?: boolean | undefined;
881
886
  remember_last_method?: boolean | undefined;
@@ -45,6 +45,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
45
45
  email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
46
46
  login_methods?: {
47
47
  order?: string[] | undefined;
48
+ disabled_connections?: string[] | undefined;
48
49
  passkey_login_enabled?: boolean | undefined;
49
50
  identifier_first?: boolean | undefined;
50
51
  remember_last_method?: boolean | undefined;
@@ -85,6 +86,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
85
86
  email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
86
87
  login_methods?: {
87
88
  order?: string[] | undefined;
89
+ disabled_connections?: string[] | undefined;
88
90
  passkey_login_enabled?: boolean | undefined;
89
91
  identifier_first?: boolean | undefined;
90
92
  remember_last_method?: boolean | undefined;
@@ -131,6 +133,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
131
133
  email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
132
134
  login_methods?: {
133
135
  order?: string[] | undefined;
136
+ disabled_connections?: string[] | undefined;
134
137
  passkey_login_enabled?: boolean | undefined;
135
138
  identifier_first?: boolean | undefined;
136
139
  remember_last_method?: boolean | undefined;
@@ -182,6 +185,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
182
185
  email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
183
186
  login_methods?: {
184
187
  order?: string[] | undefined;
188
+ disabled_connections?: string[] | undefined;
185
189
  passkey_login_enabled?: boolean | undefined;
186
190
  identifier_first?: boolean | undefined;
187
191
  remember_last_method?: boolean | undefined;
@@ -217,6 +221,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
217
221
  email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
218
222
  login_methods?: {
219
223
  order?: string[] | undefined;
224
+ disabled_connections?: string[] | undefined;
220
225
  passkey_login_enabled?: boolean | undefined;
221
226
  identifier_first?: boolean | undefined;
222
227
  remember_last_method?: boolean | undefined;
@@ -255,6 +260,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
255
260
  email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
256
261
  login_methods?: {
257
262
  order?: string[] | undefined;
263
+ disabled_connections?: string[] | undefined;
258
264
  passkey_login_enabled?: boolean | undefined;
259
265
  identifier_first?: boolean | undefined;
260
266
  remember_last_method?: boolean | undefined;
@@ -308,6 +314,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
308
314
  email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
309
315
  login_methods?: {
310
316
  order?: string[] | undefined;
317
+ disabled_connections?: string[] | undefined;
311
318
  passkey_login_enabled?: boolean | undefined;
312
319
  identifier_first?: boolean | undefined;
313
320
  remember_last_method?: boolean | undefined;
@@ -712,6 +719,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
712
719
  frontchannel_logout_session_required?: boolean | undefined;
713
720
  login_methods?: {
714
721
  order?: string[] | undefined;
722
+ disabled_connections?: string[] | undefined;
715
723
  passkey_login_enabled?: boolean | undefined;
716
724
  identifier_first?: boolean | undefined;
717
725
  remember_last_method?: boolean | undefined;
@@ -765,6 +773,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
765
773
  frontchannel_logout_session_required?: boolean | undefined;
766
774
  login_methods?: {
767
775
  order?: string[] | undefined;
776
+ disabled_connections?: string[] | undefined;
768
777
  passkey_login_enabled?: boolean | undefined;
769
778
  identifier_first?: boolean | undefined;
770
779
  remember_last_method?: boolean | undefined;
@@ -818,6 +827,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
818
827
  frontchannel_logout_session_required?: boolean | undefined;
819
828
  login_methods?: {
820
829
  order?: string[] | undefined;
830
+ disabled_connections?: string[] | undefined;
821
831
  passkey_login_enabled?: boolean | undefined;
822
832
  identifier_first?: boolean | undefined;
823
833
  remember_last_method?: boolean | undefined;
@@ -872,6 +882,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
872
882
  frontchannel_logout_session_required?: boolean | undefined;
873
883
  login_methods?: {
874
884
  order?: string[] | undefined;
885
+ disabled_connections?: string[] | undefined;
875
886
  passkey_login_enabled?: boolean | undefined;
876
887
  identifier_first?: boolean | undefined;
877
888
  remember_last_method?: boolean | undefined;
@@ -920,6 +931,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
920
931
  frontchannel_logout_session_required?: boolean | undefined;
921
932
  login_methods?: {
922
933
  order?: string[] | undefined;
934
+ disabled_connections?: string[] | undefined;
923
935
  passkey_login_enabled?: boolean | undefined;
924
936
  identifier_first?: boolean | undefined;
925
937
  remember_last_method?: boolean | undefined;
@@ -971,6 +983,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
971
983
  frontchannel_logout_session_required?: boolean | undefined;
972
984
  login_methods?: {
973
985
  order?: string[] | undefined;
986
+ disabled_connections?: string[] | undefined;
974
987
  passkey_login_enabled?: boolean | undefined;
975
988
  identifier_first?: boolean | undefined;
976
989
  remember_last_method?: boolean | undefined;
@@ -1025,6 +1038,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1025
1038
  frontchannel_logout_session_required?: boolean | undefined;
1026
1039
  login_methods?: {
1027
1040
  order?: string[] | undefined;
1041
+ disabled_connections?: string[] | undefined;
1028
1042
  passkey_login_enabled?: boolean | undefined;
1029
1043
  identifier_first?: boolean | undefined;
1030
1044
  remember_last_method?: boolean | undefined;
@@ -1078,6 +1092,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1078
1092
  frontchannel_logout_session_required?: boolean | undefined;
1079
1093
  login_methods?: {
1080
1094
  order?: string[] | undefined;
1095
+ disabled_connections?: string[] | undefined;
1081
1096
  passkey_login_enabled?: boolean | undefined;
1082
1097
  identifier_first?: boolean | undefined;
1083
1098
  remember_last_method?: boolean | undefined;
@@ -2434,6 +2434,8 @@ export interface components {
2434
2434
  login_methods?: {
2435
2435
  /** @description Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods(). */
2436
2436
  order?: string[];
2437
+ /** @description Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say "this app does not do Google"; use `enabled_clients` on the connection itself to say "that connection is not for this app". A connection has to pass both. */
2438
+ disabled_connections?: string[];
2437
2439
  /** @description Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false. */
2438
2440
  passkey_login_enabled?: boolean;
2439
2441
  /** @description Ask for the email first and only then reveal the methods that apply to it, instead of showing every method up front. Defaults to false. */
@@ -2712,6 +2714,8 @@ export interface components {
2712
2714
  login_methods?: {
2713
2715
  /** @description Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods(). */
2714
2716
  order?: string[];
2717
+ /** @description Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say "this app does not do Google"; use `enabled_clients` on the connection itself to say "that connection is not for this app". A connection has to pass both. */
2718
+ disabled_connections?: string[];
2715
2719
  /** @description Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false. */
2716
2720
  passkey_login_enabled?: boolean;
2717
2721
  /** @description Ask for the email first and only then reveal the methods that apply to it, instead of showing every method up front. Defaults to false. */
@@ -2803,6 +2807,8 @@ export interface components {
2803
2807
  login_methods?: {
2804
2808
  /** @description Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods(). */
2805
2809
  order?: string[];
2810
+ /** @description Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say "this app does not do Google"; use `enabled_clients` on the connection itself to say "that connection is not for this app". A connection has to pass both. */
2811
+ disabled_connections?: string[];
2806
2812
  /** @description Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false. */
2807
2813
  passkey_login_enabled?: boolean;
2808
2814
  /** @description Ask for the email first and only then reveal the methods that apply to it, instead of showing every method up front. Defaults to false. */
@@ -4075,6 +4081,8 @@ export interface components {
4075
4081
  login_methods?: {
4076
4082
  /** @description Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods(). */
4077
4083
  order?: string[];
4084
+ /** @description Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say "this app does not do Google"; use `enabled_clients` on the connection itself to say "that connection is not for this app". A connection has to pass both. */
4085
+ disabled_connections?: string[];
4078
4086
  /** @description Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false. */
4079
4087
  passkey_login_enabled?: boolean;
4080
4088
  /** @description Ask for the email first and only then reveal the methods that apply to it, instead of showing every method up front. Defaults to false. */
@@ -4233,6 +4241,8 @@ export interface operations {
4233
4241
  login_methods?: {
4234
4242
  /** @description Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods(). */
4235
4243
  order?: string[];
4244
+ /** @description Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say "this app does not do Google"; use `enabled_clients` on the connection itself to say "that connection is not for this app". A connection has to pass both. */
4245
+ disabled_connections?: string[];
4236
4246
  /** @description Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false. */
4237
4247
  passkey_login_enabled?: boolean;
4238
4248
  /** @description Ask for the email first and only then reveal the methods that apply to it, instead of showing every method up front. Defaults to false. */
@@ -4369,6 +4379,8 @@ export interface operations {
4369
4379
  login_methods?: {
4370
4380
  /** @description Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods(). */
4371
4381
  order?: string[];
4382
+ /** @description Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say "this app does not do Google"; use `enabled_clients` on the connection itself to say "that connection is not for this app". A connection has to pass both. */
4383
+ disabled_connections?: string[];
4372
4384
  /** @description Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false. */
4373
4385
  passkey_login_enabled?: boolean;
4374
4386
  /** @description Ask for the email first and only then reveal the methods that apply to it, instead of showing every method up front. Defaults to false. */
@@ -4459,6 +4471,8 @@ export interface operations {
4459
4471
  login_methods?: {
4460
4472
  /** @description Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods(). */
4461
4473
  order?: string[];
4474
+ /** @description Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say "this app does not do Google"; use `enabled_clients` on the connection itself to say "that connection is not for this app". A connection has to pass both. */
4475
+ disabled_connections?: string[];
4462
4476
  /** @description Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false. */
4463
4477
  passkey_login_enabled?: boolean;
4464
4478
  /** @description Ask for the email first and only then reveal the methods that apply to it, instead of showing every method up front. Defaults to false. */
@@ -4521,6 +4535,8 @@ export interface operations {
4521
4535
  login_methods?: {
4522
4536
  /** @description Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods(). */
4523
4537
  order?: string[];
4538
+ /** @description Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say "this app does not do Google"; use `enabled_clients` on the connection itself to say "that connection is not for this app". A connection has to pass both. */
4539
+ disabled_connections?: string[];
4524
4540
  /** @description Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false. */
4525
4541
  passkey_login_enabled?: boolean;
4526
4542
  /** @description Ask for the email first and only then reveal the methods that apply to it, instead of showing every method up front. Defaults to false. */
@@ -4590,6 +4606,8 @@ export interface operations {
4590
4606
  login_methods?: {
4591
4607
  /** @description Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods(). */
4592
4608
  order?: string[];
4609
+ /** @description Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say "this app does not do Google"; use `enabled_clients` on the connection itself to say "that connection is not for this app". A connection has to pass both. */
4610
+ disabled_connections?: string[];
4593
4611
  /** @description Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false. */
4594
4612
  passkey_login_enabled?: boolean;
4595
4613
  /** @description Ask for the email first and only then reveal the methods that apply to it, instead of showing every method up front. Defaults to false. */
@@ -4689,6 +4707,8 @@ export interface operations {
4689
4707
  login_methods?: {
4690
4708
  /** @description Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods(). */
4691
4709
  order?: string[];
4710
+ /** @description Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say "this app does not do Google"; use `enabled_clients` on the connection itself to say "that connection is not for this app". A connection has to pass both. */
4711
+ disabled_connections?: string[];
4692
4712
  /** @description Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false. */
4693
4713
  passkey_login_enabled?: boolean;
4694
4714
  /** @description Ask for the email first and only then reveal the methods that apply to it, instead of showing every method up front. Defaults to false. */
@@ -5348,6 +5368,8 @@ export interface operations {
5348
5368
  login_methods?: {
5349
5369
  /** @description Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods(). */
5350
5370
  order?: string[];
5371
+ /** @description Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say "this app does not do Google"; use `enabled_clients` on the connection itself to say "that connection is not for this app". A connection has to pass both. */
5372
+ disabled_connections?: string[];
5351
5373
  /** @description Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false. */
5352
5374
  passkey_login_enabled?: boolean;
5353
5375
  /** @description Ask for the email first and only then reveal the methods that apply to it, instead of showing every method up front. Defaults to false. */
@@ -5437,6 +5459,8 @@ export interface operations {
5437
5459
  login_methods?: {
5438
5460
  /** @description Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods(). */
5439
5461
  order?: string[];
5462
+ /** @description Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say "this app does not do Google"; use `enabled_clients` on the connection itself to say "that connection is not for this app". A connection has to pass both. */
5463
+ disabled_connections?: string[];
5440
5464
  /** @description Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false. */
5441
5465
  passkey_login_enabled?: boolean;
5442
5466
  /** @description Ask for the email first and only then reveal the methods that apply to it, instead of showing every method up front. Defaults to false. */
@@ -5520,6 +5544,8 @@ export interface operations {
5520
5544
  login_methods?: {
5521
5545
  /** @description Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods(). */
5522
5546
  order?: string[];
5547
+ /** @description Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say "this app does not do Google"; use `enabled_clients` on the connection itself to say "that connection is not for this app". A connection has to pass both. */
5548
+ disabled_connections?: string[];
5523
5549
  /** @description Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false. */
5524
5550
  passkey_login_enabled?: boolean;
5525
5551
  /** @description Ask for the email first and only then reveal the methods that apply to it, instead of showing every method up front. Defaults to false. */
@@ -5590,6 +5616,8 @@ export interface operations {
5590
5616
  login_methods?: {
5591
5617
  /** @description Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods(). */
5592
5618
  order?: string[];
5619
+ /** @description Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say "this app does not do Google"; use `enabled_clients` on the connection itself to say "that connection is not for this app". A connection has to pass both. */
5620
+ disabled_connections?: string[];
5593
5621
  /** @description Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false. */
5594
5622
  passkey_login_enabled?: boolean;
5595
5623
  /** @description Ask for the email first and only then reveal the methods that apply to it, instead of showing every method up front. Defaults to false. */
@@ -5679,6 +5707,8 @@ export interface operations {
5679
5707
  login_methods?: {
5680
5708
  /** @description Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods(). */
5681
5709
  order?: string[];
5710
+ /** @description Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say "this app does not do Google"; use `enabled_clients` on the connection itself to say "that connection is not for this app". A connection has to pass both. */
5711
+ disabled_connections?: string[];
5682
5712
  /** @description Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false. */
5683
5713
  passkey_login_enabled?: boolean;
5684
5714
  /** @description Ask for the email first and only then reveal the methods that apply to it, instead of showing every method up front. Defaults to false. */
@@ -5768,6 +5798,8 @@ export interface operations {
5768
5798
  login_methods?: {
5769
5799
  /** @description Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods(). */
5770
5800
  order?: string[];
5801
+ /** @description Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say "this app does not do Google"; use `enabled_clients` on the connection itself to say "that connection is not for this app". A connection has to pass both. */
5802
+ disabled_connections?: string[];
5771
5803
  /** @description Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false. */
5772
5804
  passkey_login_enabled?: boolean;
5773
5805
  /** @description Ask for the email first and only then reveal the methods that apply to it, instead of showing every method up front. Defaults to false. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faable/auth-sdk",
3
- "version": "2.5.73",
3
+ "version": "2.5.74",
4
4
  "author": "Marc Pomar <marc@faable.com>",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/spec/openapi.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "@faablecloud/auth",
5
5
  "description": "Auth Platform made by Faable. Manage Users and Roles",
6
- "version": "2.2.3",
6
+ "version": "2.3.0",
7
7
  "license": {
8
8
  "name": "private",
9
9
  "url": "https://faable.com/docs/platform/privacy-policy"
@@ -185,6 +185,13 @@
185
185
  },
186
186
  "description": "Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods()."
187
187
  },
188
+ "disabled_connections": {
189
+ "type": "array",
190
+ "items": {
191
+ "type": "string"
192
+ },
193
+ "description": "Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say \"this app does not do Google\"; use `enabled_clients` on the connection itself to say \"that connection is not for this app\". A connection has to pass both."
194
+ },
188
195
  "passkey_login_enabled": {
189
196
  "type": "boolean",
190
197
  "description": "Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false."
@@ -1179,6 +1186,13 @@
1179
1186
  },
1180
1187
  "description": "Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods()."
1181
1188
  },
1189
+ "disabled_connections": {
1190
+ "type": "array",
1191
+ "items": {
1192
+ "type": "string"
1193
+ },
1194
+ "description": "Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say \"this app does not do Google\"; use `enabled_clients` on the connection itself to say \"that connection is not for this app\". A connection has to pass both."
1195
+ },
1182
1196
  "passkey_login_enabled": {
1183
1197
  "type": "boolean",
1184
1198
  "description": "Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false."
@@ -1461,6 +1475,13 @@
1461
1475
  },
1462
1476
  "description": "Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods()."
1463
1477
  },
1478
+ "disabled_connections": {
1479
+ "type": "array",
1480
+ "items": {
1481
+ "type": "string"
1482
+ },
1483
+ "description": "Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say \"this app does not do Google\"; use `enabled_clients` on the connection itself to say \"that connection is not for this app\". A connection has to pass both."
1484
+ },
1464
1485
  "passkey_login_enabled": {
1465
1486
  "type": "boolean",
1466
1487
  "description": "Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false."
@@ -4611,6 +4632,13 @@
4611
4632
  },
4612
4633
  "description": "Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods()."
4613
4634
  },
4635
+ "disabled_connections": {
4636
+ "type": "array",
4637
+ "items": {
4638
+ "type": "string"
4639
+ },
4640
+ "description": "Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say \"this app does not do Google\"; use `enabled_clients` on the connection itself to say \"that connection is not for this app\". A connection has to pass both."
4641
+ },
4614
4642
  "passkey_login_enabled": {
4615
4643
  "type": "boolean",
4616
4644
  "description": "Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false."
@@ -5191,6 +5219,13 @@
5191
5219
  },
5192
5220
  "description": "Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods()."
5193
5221
  },
5222
+ "disabled_connections": {
5223
+ "type": "array",
5224
+ "items": {
5225
+ "type": "string"
5226
+ },
5227
+ "description": "Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say \"this app does not do Google\"; use `enabled_clients` on the connection itself to say \"that connection is not for this app\". A connection has to pass both."
5228
+ },
5194
5229
  "passkey_login_enabled": {
5195
5230
  "type": "boolean",
5196
5231
  "description": "Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false."
@@ -5512,6 +5547,13 @@
5512
5547
  },
5513
5548
  "description": "Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods()."
5514
5549
  },
5550
+ "disabled_connections": {
5551
+ "type": "array",
5552
+ "items": {
5553
+ "type": "string"
5554
+ },
5555
+ "description": "Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say \"this app does not do Google\"; use `enabled_clients` on the connection itself to say \"that connection is not for this app\". A connection has to pass both."
5556
+ },
5515
5557
  "passkey_login_enabled": {
5516
5558
  "type": "boolean",
5517
5559
  "description": "Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false."
@@ -5887,6 +5929,13 @@
5887
5929
  },
5888
5930
  "description": "Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods()."
5889
5931
  },
5932
+ "disabled_connections": {
5933
+ "type": "array",
5934
+ "items": {
5935
+ "type": "string"
5936
+ },
5937
+ "description": "Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say \"this app does not do Google\"; use `enabled_clients` on the connection itself to say \"that connection is not for this app\". A connection has to pass both."
5938
+ },
5890
5939
  "passkey_login_enabled": {
5891
5940
  "type": "boolean",
5892
5941
  "description": "Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false."
@@ -6062,6 +6111,13 @@
6062
6111
  },
6063
6112
  "description": "Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods()."
6064
6113
  },
6114
+ "disabled_connections": {
6115
+ "type": "array",
6116
+ "items": {
6117
+ "type": "string"
6118
+ },
6119
+ "description": "Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say \"this app does not do Google\"; use `enabled_clients` on the connection itself to say \"that connection is not for this app\". A connection has to pass both."
6120
+ },
6065
6121
  "passkey_login_enabled": {
6066
6122
  "type": "boolean",
6067
6123
  "description": "Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false."
@@ -6331,6 +6387,13 @@
6331
6387
  },
6332
6388
  "description": "Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods()."
6333
6389
  },
6390
+ "disabled_connections": {
6391
+ "type": "array",
6392
+ "items": {
6393
+ "type": "string"
6394
+ },
6395
+ "description": "Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say \"this app does not do Google\"; use `enabled_clients` on the connection itself to say \"that connection is not for this app\". A connection has to pass both."
6396
+ },
6334
6397
  "passkey_login_enabled": {
6335
6398
  "type": "boolean",
6336
6399
  "description": "Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false."
@@ -6625,6 +6688,13 @@
6625
6688
  },
6626
6689
  "description": "Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods()."
6627
6690
  },
6691
+ "disabled_connections": {
6692
+ "type": "array",
6693
+ "items": {
6694
+ "type": "string"
6695
+ },
6696
+ "description": "Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say \"this app does not do Google\"; use `enabled_clients` on the connection itself to say \"that connection is not for this app\". A connection has to pass both."
6697
+ },
6628
6698
  "passkey_login_enabled": {
6629
6699
  "type": "boolean",
6630
6700
  "description": "Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false."
@@ -8602,6 +8672,13 @@
8602
8672
  },
8603
8673
  "description": "Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods()."
8604
8674
  },
8675
+ "disabled_connections": {
8676
+ "type": "array",
8677
+ "items": {
8678
+ "type": "string"
8679
+ },
8680
+ "description": "Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say \"this app does not do Google\"; use `enabled_clients` on the connection itself to say \"that connection is not for this app\". A connection has to pass both."
8681
+ },
8605
8682
  "passkey_login_enabled": {
8606
8683
  "type": "boolean",
8607
8684
  "description": "Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false."
@@ -8882,6 +8959,13 @@
8882
8959
  },
8883
8960
  "description": "Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods()."
8884
8961
  },
8962
+ "disabled_connections": {
8963
+ "type": "array",
8964
+ "items": {
8965
+ "type": "string"
8966
+ },
8967
+ "description": "Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say \"this app does not do Google\"; use `enabled_clients` on the connection itself to say \"that connection is not for this app\". A connection has to pass both."
8968
+ },
8885
8969
  "passkey_login_enabled": {
8886
8970
  "type": "boolean",
8887
8971
  "description": "Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false."
@@ -9127,6 +9211,13 @@
9127
9211
  },
9128
9212
  "description": "Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods()."
9129
9213
  },
9214
+ "disabled_connections": {
9215
+ "type": "array",
9216
+ "items": {
9217
+ "type": "string"
9218
+ },
9219
+ "description": "Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say \"this app does not do Google\"; use `enabled_clients` on the connection itself to say \"that connection is not for this app\". A connection has to pass both."
9220
+ },
9130
9221
  "passkey_login_enabled": {
9131
9222
  "type": "boolean",
9132
9223
  "description": "Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false."
@@ -9398,6 +9489,13 @@
9398
9489
  },
9399
9490
  "description": "Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods()."
9400
9491
  },
9492
+ "disabled_connections": {
9493
+ "type": "array",
9494
+ "items": {
9495
+ "type": "string"
9496
+ },
9497
+ "description": "Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say \"this app does not do Google\"; use `enabled_clients` on the connection itself to say \"that connection is not for this app\". A connection has to pass both."
9498
+ },
9401
9499
  "passkey_login_enabled": {
9402
9500
  "type": "boolean",
9403
9501
  "description": "Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false."
@@ -9676,6 +9774,13 @@
9676
9774
  },
9677
9775
  "description": "Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods()."
9678
9776
  },
9777
+ "disabled_connections": {
9778
+ "type": "array",
9779
+ "items": {
9780
+ "type": "string"
9781
+ },
9782
+ "description": "Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say \"this app does not do Google\"; use `enabled_clients` on the connection itself to say \"that connection is not for this app\". A connection has to pass both."
9783
+ },
9679
9784
  "passkey_login_enabled": {
9680
9785
  "type": "boolean",
9681
9786
  "description": "Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false."
@@ -9956,6 +10061,13 @@
9956
10061
  },
9957
10062
  "description": "Order in which the hosted login screen renders the available methods. Entries are Connection resource ids (`connection_xxx`) or the literal `passkey`. Methods not listed keep the built-in order (passwordless, database, social) after the listed ones; ids that no longer resolve are ignored. Listing an `oidc` connection here is also the only way to surface it on the login screen — see resolveLoginMethods()."
9958
10063
  },
10064
+ "disabled_connections": {
10065
+ "type": "array",
10066
+ "items": {
10067
+ "type": "string"
10068
+ },
10069
+ "description": "Connection resource ids (`connection_xxx`) this client does NOT offer. Removing a method here is enforced, not cosmetic: the connection disappears from the login screen AND `/authorize?connection=<id>` is refused for this client, the same as a connection whose `enabled_clients` excludes it. Use it to say \"this app does not do Google\"; use `enabled_clients` on the connection itself to say \"that connection is not for this app\". A connection has to pass both."
10070
+ },
9959
10071
  "passkey_login_enabled": {
9960
10072
  "type": "boolean",
9961
10073
  "description": "Offer passkey (WebAuthn) as a primary login method on the hosted login screen. Defaults to false."