@descope/pulumi-descope 0.2.0 → 0.3.2
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/package.json +3 -4
- package/project.d.ts +18 -0
- package/project.js +29 -27
- package/project.js.map +1 -1
- package/provider.js +3 -3
- package/provider.js.map +1 -1
- package/types/input.d.ts +727 -39
- package/types/output.d.ts +719 -31
- package/utilities.js +18 -29
- package/utilities.js.map +1 -1
package/types/output.d.ts
CHANGED
|
@@ -147,7 +147,11 @@ export interface ProjectAttributesTenant {
|
|
|
147
147
|
*/
|
|
148
148
|
authorization: outputs.ProjectAttributesTenantAuthorization;
|
|
149
149
|
/**
|
|
150
|
-
*
|
|
150
|
+
* An optional identifier for the attribute. This value is called `Machine Name` in the Descope console. If a value is not provided then an appropriate one will be created from the value of `name`.
|
|
151
|
+
*/
|
|
152
|
+
id: string;
|
|
153
|
+
/**
|
|
154
|
+
* The name of the attribute. This value is called `Display Name` in the Descope console.
|
|
151
155
|
*/
|
|
152
156
|
name: string;
|
|
153
157
|
/**
|
|
@@ -167,7 +171,11 @@ export interface ProjectAttributesTenantAuthorization {
|
|
|
167
171
|
}
|
|
168
172
|
export interface ProjectAttributesUser {
|
|
169
173
|
/**
|
|
170
|
-
*
|
|
174
|
+
* An optional identifier for the attribute. This value is called `Machine Name` in the Descope console. If a value is not provided then an appropriate one will be created from the value of `name`.
|
|
175
|
+
*/
|
|
176
|
+
id: string;
|
|
177
|
+
/**
|
|
178
|
+
* The name of the attribute. This value is called `Display Name` in the Descope console.
|
|
171
179
|
*/
|
|
172
180
|
name: string;
|
|
173
181
|
/**
|
|
@@ -401,6 +409,10 @@ export interface ProjectAuthenticationOauthCustom {
|
|
|
401
409
|
* The type of grants (`authorizationCode` or `implicit`) to allow when requesting access tokens from the OAuth provider.
|
|
402
410
|
*/
|
|
403
411
|
allowedGrantTypes: string[];
|
|
412
|
+
/**
|
|
413
|
+
* The apple key generator object describing how to create a dynamic apple client secret for applications.
|
|
414
|
+
*/
|
|
415
|
+
appleKeyGenerator: outputs.ProjectAuthenticationOauthCustomAppleKeyGenerator;
|
|
404
416
|
/**
|
|
405
417
|
* The URL that users are redirected to for authorization with the OAuth provider.
|
|
406
418
|
*/
|
|
@@ -451,6 +463,18 @@ export interface ProjectAuthenticationOauthCustom {
|
|
|
451
463
|
* Whether to merge existing user accounts with new ones created through OAuth authentication.
|
|
452
464
|
*/
|
|
453
465
|
mergeUserAccounts: boolean;
|
|
466
|
+
/**
|
|
467
|
+
* The apple key generator object describing how to create a dynamic native apple client secret for mobile apps.
|
|
468
|
+
*/
|
|
469
|
+
nativeAppleKeyGenerator: outputs.ProjectAuthenticationOauthCustomNativeAppleKeyGenerator;
|
|
470
|
+
/**
|
|
471
|
+
* The client ID for the OAuth provider, used for Sign in with Apple in mobile apps.
|
|
472
|
+
*/
|
|
473
|
+
nativeClientId: string;
|
|
474
|
+
/**
|
|
475
|
+
* The client secret for the OAuth provider, used for Sign in with Apple in mobile apps.
|
|
476
|
+
*/
|
|
477
|
+
nativeClientSecret: string;
|
|
454
478
|
/**
|
|
455
479
|
* Custom prompts or consent screens that users may see during OAuth authentication.
|
|
456
480
|
*/
|
|
@@ -471,11 +495,43 @@ export interface ProjectAuthenticationOauthCustom {
|
|
|
471
495
|
* The URL where the application requests an access token from the OAuth provider.
|
|
472
496
|
*/
|
|
473
497
|
tokenEndpoint: string;
|
|
498
|
+
/**
|
|
499
|
+
* Use private key JWT (client assertion) instead of client secret.
|
|
500
|
+
*/
|
|
501
|
+
useClientAssertion: boolean;
|
|
474
502
|
/**
|
|
475
503
|
* The URL where the application retrieves user information from the OAuth provider.
|
|
476
504
|
*/
|
|
477
505
|
userInfoEndpoint: string;
|
|
478
506
|
}
|
|
507
|
+
export interface ProjectAuthenticationOauthCustomAppleKeyGenerator {
|
|
508
|
+
/**
|
|
509
|
+
* The apple generator key id produced by Apple.
|
|
510
|
+
*/
|
|
511
|
+
keyId: string;
|
|
512
|
+
/**
|
|
513
|
+
* The apple generator private key produced by Apple.
|
|
514
|
+
*/
|
|
515
|
+
privateKey: string;
|
|
516
|
+
/**
|
|
517
|
+
* The apple generator team id assigned to the key by Apple.
|
|
518
|
+
*/
|
|
519
|
+
teamId: string;
|
|
520
|
+
}
|
|
521
|
+
export interface ProjectAuthenticationOauthCustomNativeAppleKeyGenerator {
|
|
522
|
+
/**
|
|
523
|
+
* The apple generator key id produced by Apple.
|
|
524
|
+
*/
|
|
525
|
+
keyId: string;
|
|
526
|
+
/**
|
|
527
|
+
* The apple generator private key produced by Apple.
|
|
528
|
+
*/
|
|
529
|
+
privateKey: string;
|
|
530
|
+
/**
|
|
531
|
+
* The apple generator team id assigned to the key by Apple.
|
|
532
|
+
*/
|
|
533
|
+
teamId: string;
|
|
534
|
+
}
|
|
479
535
|
export interface ProjectAuthenticationOauthCustomProviderTokenManagement {
|
|
480
536
|
}
|
|
481
537
|
export interface ProjectAuthenticationOauthSystem {
|
|
@@ -521,6 +577,10 @@ export interface ProjectAuthenticationOauthSystemApple {
|
|
|
521
577
|
* The type of grants (`authorizationCode` or `implicit`) to allow when requesting access tokens from the OAuth provider.
|
|
522
578
|
*/
|
|
523
579
|
allowedGrantTypes: string[];
|
|
580
|
+
/**
|
|
581
|
+
* The apple key generator object describing how to create a dynamic apple client secret for applications.
|
|
582
|
+
*/
|
|
583
|
+
appleKeyGenerator: outputs.ProjectAuthenticationOauthSystemAppleAppleKeyGenerator;
|
|
524
584
|
/**
|
|
525
585
|
* The URL that users are redirected to for authorization with the OAuth provider.
|
|
526
586
|
*/
|
|
@@ -571,6 +631,18 @@ export interface ProjectAuthenticationOauthSystemApple {
|
|
|
571
631
|
* Whether to merge existing user accounts with new ones created through OAuth authentication.
|
|
572
632
|
*/
|
|
573
633
|
mergeUserAccounts: boolean;
|
|
634
|
+
/**
|
|
635
|
+
* The apple key generator object describing how to create a dynamic native apple client secret for mobile apps.
|
|
636
|
+
*/
|
|
637
|
+
nativeAppleKeyGenerator: outputs.ProjectAuthenticationOauthSystemAppleNativeAppleKeyGenerator;
|
|
638
|
+
/**
|
|
639
|
+
* The client ID for the OAuth provider, used for Sign in with Apple in mobile apps.
|
|
640
|
+
*/
|
|
641
|
+
nativeClientId: string;
|
|
642
|
+
/**
|
|
643
|
+
* The client secret for the OAuth provider, used for Sign in with Apple in mobile apps.
|
|
644
|
+
*/
|
|
645
|
+
nativeClientSecret: string;
|
|
574
646
|
/**
|
|
575
647
|
* Custom prompts or consent screens that users may see during OAuth authentication.
|
|
576
648
|
*/
|
|
@@ -591,11 +663,43 @@ export interface ProjectAuthenticationOauthSystemApple {
|
|
|
591
663
|
* The URL where the application requests an access token from the OAuth provider.
|
|
592
664
|
*/
|
|
593
665
|
tokenEndpoint: string;
|
|
666
|
+
/**
|
|
667
|
+
* Use private key JWT (client assertion) instead of client secret.
|
|
668
|
+
*/
|
|
669
|
+
useClientAssertion: boolean;
|
|
594
670
|
/**
|
|
595
671
|
* The URL where the application retrieves user information from the OAuth provider.
|
|
596
672
|
*/
|
|
597
673
|
userInfoEndpoint: string;
|
|
598
674
|
}
|
|
675
|
+
export interface ProjectAuthenticationOauthSystemAppleAppleKeyGenerator {
|
|
676
|
+
/**
|
|
677
|
+
* The apple generator key id produced by Apple.
|
|
678
|
+
*/
|
|
679
|
+
keyId: string;
|
|
680
|
+
/**
|
|
681
|
+
* The apple generator private key produced by Apple.
|
|
682
|
+
*/
|
|
683
|
+
privateKey: string;
|
|
684
|
+
/**
|
|
685
|
+
* The apple generator team id assigned to the key by Apple.
|
|
686
|
+
*/
|
|
687
|
+
teamId: string;
|
|
688
|
+
}
|
|
689
|
+
export interface ProjectAuthenticationOauthSystemAppleNativeAppleKeyGenerator {
|
|
690
|
+
/**
|
|
691
|
+
* The apple generator key id produced by Apple.
|
|
692
|
+
*/
|
|
693
|
+
keyId: string;
|
|
694
|
+
/**
|
|
695
|
+
* The apple generator private key produced by Apple.
|
|
696
|
+
*/
|
|
697
|
+
privateKey: string;
|
|
698
|
+
/**
|
|
699
|
+
* The apple generator team id assigned to the key by Apple.
|
|
700
|
+
*/
|
|
701
|
+
teamId: string;
|
|
702
|
+
}
|
|
599
703
|
export interface ProjectAuthenticationOauthSystemAppleProviderTokenManagement {
|
|
600
704
|
}
|
|
601
705
|
export interface ProjectAuthenticationOauthSystemDiscord {
|
|
@@ -603,6 +707,10 @@ export interface ProjectAuthenticationOauthSystemDiscord {
|
|
|
603
707
|
* The type of grants (`authorizationCode` or `implicit`) to allow when requesting access tokens from the OAuth provider.
|
|
604
708
|
*/
|
|
605
709
|
allowedGrantTypes: string[];
|
|
710
|
+
/**
|
|
711
|
+
* The apple key generator object describing how to create a dynamic apple client secret for applications.
|
|
712
|
+
*/
|
|
713
|
+
appleKeyGenerator: outputs.ProjectAuthenticationOauthSystemDiscordAppleKeyGenerator;
|
|
606
714
|
/**
|
|
607
715
|
* The URL that users are redirected to for authorization with the OAuth provider.
|
|
608
716
|
*/
|
|
@@ -653,6 +761,18 @@ export interface ProjectAuthenticationOauthSystemDiscord {
|
|
|
653
761
|
* Whether to merge existing user accounts with new ones created through OAuth authentication.
|
|
654
762
|
*/
|
|
655
763
|
mergeUserAccounts: boolean;
|
|
764
|
+
/**
|
|
765
|
+
* The apple key generator object describing how to create a dynamic native apple client secret for mobile apps.
|
|
766
|
+
*/
|
|
767
|
+
nativeAppleKeyGenerator: outputs.ProjectAuthenticationOauthSystemDiscordNativeAppleKeyGenerator;
|
|
768
|
+
/**
|
|
769
|
+
* The client ID for the OAuth provider, used for Sign in with Apple in mobile apps.
|
|
770
|
+
*/
|
|
771
|
+
nativeClientId: string;
|
|
772
|
+
/**
|
|
773
|
+
* The client secret for the OAuth provider, used for Sign in with Apple in mobile apps.
|
|
774
|
+
*/
|
|
775
|
+
nativeClientSecret: string;
|
|
656
776
|
/**
|
|
657
777
|
* Custom prompts or consent screens that users may see during OAuth authentication.
|
|
658
778
|
*/
|
|
@@ -673,11 +793,43 @@ export interface ProjectAuthenticationOauthSystemDiscord {
|
|
|
673
793
|
* The URL where the application requests an access token from the OAuth provider.
|
|
674
794
|
*/
|
|
675
795
|
tokenEndpoint: string;
|
|
796
|
+
/**
|
|
797
|
+
* Use private key JWT (client assertion) instead of client secret.
|
|
798
|
+
*/
|
|
799
|
+
useClientAssertion: boolean;
|
|
676
800
|
/**
|
|
677
801
|
* The URL where the application retrieves user information from the OAuth provider.
|
|
678
802
|
*/
|
|
679
803
|
userInfoEndpoint: string;
|
|
680
804
|
}
|
|
805
|
+
export interface ProjectAuthenticationOauthSystemDiscordAppleKeyGenerator {
|
|
806
|
+
/**
|
|
807
|
+
* The apple generator key id produced by Apple.
|
|
808
|
+
*/
|
|
809
|
+
keyId: string;
|
|
810
|
+
/**
|
|
811
|
+
* The apple generator private key produced by Apple.
|
|
812
|
+
*/
|
|
813
|
+
privateKey: string;
|
|
814
|
+
/**
|
|
815
|
+
* The apple generator team id assigned to the key by Apple.
|
|
816
|
+
*/
|
|
817
|
+
teamId: string;
|
|
818
|
+
}
|
|
819
|
+
export interface ProjectAuthenticationOauthSystemDiscordNativeAppleKeyGenerator {
|
|
820
|
+
/**
|
|
821
|
+
* The apple generator key id produced by Apple.
|
|
822
|
+
*/
|
|
823
|
+
keyId: string;
|
|
824
|
+
/**
|
|
825
|
+
* The apple generator private key produced by Apple.
|
|
826
|
+
*/
|
|
827
|
+
privateKey: string;
|
|
828
|
+
/**
|
|
829
|
+
* The apple generator team id assigned to the key by Apple.
|
|
830
|
+
*/
|
|
831
|
+
teamId: string;
|
|
832
|
+
}
|
|
681
833
|
export interface ProjectAuthenticationOauthSystemDiscordProviderTokenManagement {
|
|
682
834
|
}
|
|
683
835
|
export interface ProjectAuthenticationOauthSystemFacebook {
|
|
@@ -685,6 +837,10 @@ export interface ProjectAuthenticationOauthSystemFacebook {
|
|
|
685
837
|
* The type of grants (`authorizationCode` or `implicit`) to allow when requesting access tokens from the OAuth provider.
|
|
686
838
|
*/
|
|
687
839
|
allowedGrantTypes: string[];
|
|
840
|
+
/**
|
|
841
|
+
* The apple key generator object describing how to create a dynamic apple client secret for applications.
|
|
842
|
+
*/
|
|
843
|
+
appleKeyGenerator: outputs.ProjectAuthenticationOauthSystemFacebookAppleKeyGenerator;
|
|
688
844
|
/**
|
|
689
845
|
* The URL that users are redirected to for authorization with the OAuth provider.
|
|
690
846
|
*/
|
|
@@ -735,6 +891,18 @@ export interface ProjectAuthenticationOauthSystemFacebook {
|
|
|
735
891
|
* Whether to merge existing user accounts with new ones created through OAuth authentication.
|
|
736
892
|
*/
|
|
737
893
|
mergeUserAccounts: boolean;
|
|
894
|
+
/**
|
|
895
|
+
* The apple key generator object describing how to create a dynamic native apple client secret for mobile apps.
|
|
896
|
+
*/
|
|
897
|
+
nativeAppleKeyGenerator: outputs.ProjectAuthenticationOauthSystemFacebookNativeAppleKeyGenerator;
|
|
898
|
+
/**
|
|
899
|
+
* The client ID for the OAuth provider, used for Sign in with Apple in mobile apps.
|
|
900
|
+
*/
|
|
901
|
+
nativeClientId: string;
|
|
902
|
+
/**
|
|
903
|
+
* The client secret for the OAuth provider, used for Sign in with Apple in mobile apps.
|
|
904
|
+
*/
|
|
905
|
+
nativeClientSecret: string;
|
|
738
906
|
/**
|
|
739
907
|
* Custom prompts or consent screens that users may see during OAuth authentication.
|
|
740
908
|
*/
|
|
@@ -755,11 +923,43 @@ export interface ProjectAuthenticationOauthSystemFacebook {
|
|
|
755
923
|
* The URL where the application requests an access token from the OAuth provider.
|
|
756
924
|
*/
|
|
757
925
|
tokenEndpoint: string;
|
|
926
|
+
/**
|
|
927
|
+
* Use private key JWT (client assertion) instead of client secret.
|
|
928
|
+
*/
|
|
929
|
+
useClientAssertion: boolean;
|
|
758
930
|
/**
|
|
759
931
|
* The URL where the application retrieves user information from the OAuth provider.
|
|
760
932
|
*/
|
|
761
933
|
userInfoEndpoint: string;
|
|
762
934
|
}
|
|
935
|
+
export interface ProjectAuthenticationOauthSystemFacebookAppleKeyGenerator {
|
|
936
|
+
/**
|
|
937
|
+
* The apple generator key id produced by Apple.
|
|
938
|
+
*/
|
|
939
|
+
keyId: string;
|
|
940
|
+
/**
|
|
941
|
+
* The apple generator private key produced by Apple.
|
|
942
|
+
*/
|
|
943
|
+
privateKey: string;
|
|
944
|
+
/**
|
|
945
|
+
* The apple generator team id assigned to the key by Apple.
|
|
946
|
+
*/
|
|
947
|
+
teamId: string;
|
|
948
|
+
}
|
|
949
|
+
export interface ProjectAuthenticationOauthSystemFacebookNativeAppleKeyGenerator {
|
|
950
|
+
/**
|
|
951
|
+
* The apple generator key id produced by Apple.
|
|
952
|
+
*/
|
|
953
|
+
keyId: string;
|
|
954
|
+
/**
|
|
955
|
+
* The apple generator private key produced by Apple.
|
|
956
|
+
*/
|
|
957
|
+
privateKey: string;
|
|
958
|
+
/**
|
|
959
|
+
* The apple generator team id assigned to the key by Apple.
|
|
960
|
+
*/
|
|
961
|
+
teamId: string;
|
|
962
|
+
}
|
|
763
963
|
export interface ProjectAuthenticationOauthSystemFacebookProviderTokenManagement {
|
|
764
964
|
}
|
|
765
965
|
export interface ProjectAuthenticationOauthSystemGithub {
|
|
@@ -767,6 +967,10 @@ export interface ProjectAuthenticationOauthSystemGithub {
|
|
|
767
967
|
* The type of grants (`authorizationCode` or `implicit`) to allow when requesting access tokens from the OAuth provider.
|
|
768
968
|
*/
|
|
769
969
|
allowedGrantTypes: string[];
|
|
970
|
+
/**
|
|
971
|
+
* The apple key generator object describing how to create a dynamic apple client secret for applications.
|
|
972
|
+
*/
|
|
973
|
+
appleKeyGenerator: outputs.ProjectAuthenticationOauthSystemGithubAppleKeyGenerator;
|
|
770
974
|
/**
|
|
771
975
|
* The URL that users are redirected to for authorization with the OAuth provider.
|
|
772
976
|
*/
|
|
@@ -817,6 +1021,18 @@ export interface ProjectAuthenticationOauthSystemGithub {
|
|
|
817
1021
|
* Whether to merge existing user accounts with new ones created through OAuth authentication.
|
|
818
1022
|
*/
|
|
819
1023
|
mergeUserAccounts: boolean;
|
|
1024
|
+
/**
|
|
1025
|
+
* The apple key generator object describing how to create a dynamic native apple client secret for mobile apps.
|
|
1026
|
+
*/
|
|
1027
|
+
nativeAppleKeyGenerator: outputs.ProjectAuthenticationOauthSystemGithubNativeAppleKeyGenerator;
|
|
1028
|
+
/**
|
|
1029
|
+
* The client ID for the OAuth provider, used for Sign in with Apple in mobile apps.
|
|
1030
|
+
*/
|
|
1031
|
+
nativeClientId: string;
|
|
1032
|
+
/**
|
|
1033
|
+
* The client secret for the OAuth provider, used for Sign in with Apple in mobile apps.
|
|
1034
|
+
*/
|
|
1035
|
+
nativeClientSecret: string;
|
|
820
1036
|
/**
|
|
821
1037
|
* Custom prompts or consent screens that users may see during OAuth authentication.
|
|
822
1038
|
*/
|
|
@@ -837,11 +1053,43 @@ export interface ProjectAuthenticationOauthSystemGithub {
|
|
|
837
1053
|
* The URL where the application requests an access token from the OAuth provider.
|
|
838
1054
|
*/
|
|
839
1055
|
tokenEndpoint: string;
|
|
1056
|
+
/**
|
|
1057
|
+
* Use private key JWT (client assertion) instead of client secret.
|
|
1058
|
+
*/
|
|
1059
|
+
useClientAssertion: boolean;
|
|
840
1060
|
/**
|
|
841
1061
|
* The URL where the application retrieves user information from the OAuth provider.
|
|
842
1062
|
*/
|
|
843
1063
|
userInfoEndpoint: string;
|
|
844
1064
|
}
|
|
1065
|
+
export interface ProjectAuthenticationOauthSystemGithubAppleKeyGenerator {
|
|
1066
|
+
/**
|
|
1067
|
+
* The apple generator key id produced by Apple.
|
|
1068
|
+
*/
|
|
1069
|
+
keyId: string;
|
|
1070
|
+
/**
|
|
1071
|
+
* The apple generator private key produced by Apple.
|
|
1072
|
+
*/
|
|
1073
|
+
privateKey: string;
|
|
1074
|
+
/**
|
|
1075
|
+
* The apple generator team id assigned to the key by Apple.
|
|
1076
|
+
*/
|
|
1077
|
+
teamId: string;
|
|
1078
|
+
}
|
|
1079
|
+
export interface ProjectAuthenticationOauthSystemGithubNativeAppleKeyGenerator {
|
|
1080
|
+
/**
|
|
1081
|
+
* The apple generator key id produced by Apple.
|
|
1082
|
+
*/
|
|
1083
|
+
keyId: string;
|
|
1084
|
+
/**
|
|
1085
|
+
* The apple generator private key produced by Apple.
|
|
1086
|
+
*/
|
|
1087
|
+
privateKey: string;
|
|
1088
|
+
/**
|
|
1089
|
+
* The apple generator team id assigned to the key by Apple.
|
|
1090
|
+
*/
|
|
1091
|
+
teamId: string;
|
|
1092
|
+
}
|
|
845
1093
|
export interface ProjectAuthenticationOauthSystemGithubProviderTokenManagement {
|
|
846
1094
|
}
|
|
847
1095
|
export interface ProjectAuthenticationOauthSystemGitlab {
|
|
@@ -849,6 +1097,10 @@ export interface ProjectAuthenticationOauthSystemGitlab {
|
|
|
849
1097
|
* The type of grants (`authorizationCode` or `implicit`) to allow when requesting access tokens from the OAuth provider.
|
|
850
1098
|
*/
|
|
851
1099
|
allowedGrantTypes: string[];
|
|
1100
|
+
/**
|
|
1101
|
+
* The apple key generator object describing how to create a dynamic apple client secret for applications.
|
|
1102
|
+
*/
|
|
1103
|
+
appleKeyGenerator: outputs.ProjectAuthenticationOauthSystemGitlabAppleKeyGenerator;
|
|
852
1104
|
/**
|
|
853
1105
|
* The URL that users are redirected to for authorization with the OAuth provider.
|
|
854
1106
|
*/
|
|
@@ -899,6 +1151,18 @@ export interface ProjectAuthenticationOauthSystemGitlab {
|
|
|
899
1151
|
* Whether to merge existing user accounts with new ones created through OAuth authentication.
|
|
900
1152
|
*/
|
|
901
1153
|
mergeUserAccounts: boolean;
|
|
1154
|
+
/**
|
|
1155
|
+
* The apple key generator object describing how to create a dynamic native apple client secret for mobile apps.
|
|
1156
|
+
*/
|
|
1157
|
+
nativeAppleKeyGenerator: outputs.ProjectAuthenticationOauthSystemGitlabNativeAppleKeyGenerator;
|
|
1158
|
+
/**
|
|
1159
|
+
* The client ID for the OAuth provider, used for Sign in with Apple in mobile apps.
|
|
1160
|
+
*/
|
|
1161
|
+
nativeClientId: string;
|
|
1162
|
+
/**
|
|
1163
|
+
* The client secret for the OAuth provider, used for Sign in with Apple in mobile apps.
|
|
1164
|
+
*/
|
|
1165
|
+
nativeClientSecret: string;
|
|
902
1166
|
/**
|
|
903
1167
|
* Custom prompts or consent screens that users may see during OAuth authentication.
|
|
904
1168
|
*/
|
|
@@ -919,11 +1183,43 @@ export interface ProjectAuthenticationOauthSystemGitlab {
|
|
|
919
1183
|
* The URL where the application requests an access token from the OAuth provider.
|
|
920
1184
|
*/
|
|
921
1185
|
tokenEndpoint: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* Use private key JWT (client assertion) instead of client secret.
|
|
1188
|
+
*/
|
|
1189
|
+
useClientAssertion: boolean;
|
|
922
1190
|
/**
|
|
923
1191
|
* The URL where the application retrieves user information from the OAuth provider.
|
|
924
1192
|
*/
|
|
925
1193
|
userInfoEndpoint: string;
|
|
926
1194
|
}
|
|
1195
|
+
export interface ProjectAuthenticationOauthSystemGitlabAppleKeyGenerator {
|
|
1196
|
+
/**
|
|
1197
|
+
* The apple generator key id produced by Apple.
|
|
1198
|
+
*/
|
|
1199
|
+
keyId: string;
|
|
1200
|
+
/**
|
|
1201
|
+
* The apple generator private key produced by Apple.
|
|
1202
|
+
*/
|
|
1203
|
+
privateKey: string;
|
|
1204
|
+
/**
|
|
1205
|
+
* The apple generator team id assigned to the key by Apple.
|
|
1206
|
+
*/
|
|
1207
|
+
teamId: string;
|
|
1208
|
+
}
|
|
1209
|
+
export interface ProjectAuthenticationOauthSystemGitlabNativeAppleKeyGenerator {
|
|
1210
|
+
/**
|
|
1211
|
+
* The apple generator key id produced by Apple.
|
|
1212
|
+
*/
|
|
1213
|
+
keyId: string;
|
|
1214
|
+
/**
|
|
1215
|
+
* The apple generator private key produced by Apple.
|
|
1216
|
+
*/
|
|
1217
|
+
privateKey: string;
|
|
1218
|
+
/**
|
|
1219
|
+
* The apple generator team id assigned to the key by Apple.
|
|
1220
|
+
*/
|
|
1221
|
+
teamId: string;
|
|
1222
|
+
}
|
|
927
1223
|
export interface ProjectAuthenticationOauthSystemGitlabProviderTokenManagement {
|
|
928
1224
|
}
|
|
929
1225
|
export interface ProjectAuthenticationOauthSystemGoogle {
|
|
@@ -931,6 +1227,10 @@ export interface ProjectAuthenticationOauthSystemGoogle {
|
|
|
931
1227
|
* The type of grants (`authorizationCode` or `implicit`) to allow when requesting access tokens from the OAuth provider.
|
|
932
1228
|
*/
|
|
933
1229
|
allowedGrantTypes: string[];
|
|
1230
|
+
/**
|
|
1231
|
+
* The apple key generator object describing how to create a dynamic apple client secret for applications.
|
|
1232
|
+
*/
|
|
1233
|
+
appleKeyGenerator: outputs.ProjectAuthenticationOauthSystemGoogleAppleKeyGenerator;
|
|
934
1234
|
/**
|
|
935
1235
|
* The URL that users are redirected to for authorization with the OAuth provider.
|
|
936
1236
|
*/
|
|
@@ -981,6 +1281,18 @@ export interface ProjectAuthenticationOauthSystemGoogle {
|
|
|
981
1281
|
* Whether to merge existing user accounts with new ones created through OAuth authentication.
|
|
982
1282
|
*/
|
|
983
1283
|
mergeUserAccounts: boolean;
|
|
1284
|
+
/**
|
|
1285
|
+
* The apple key generator object describing how to create a dynamic native apple client secret for mobile apps.
|
|
1286
|
+
*/
|
|
1287
|
+
nativeAppleKeyGenerator: outputs.ProjectAuthenticationOauthSystemGoogleNativeAppleKeyGenerator;
|
|
1288
|
+
/**
|
|
1289
|
+
* The client ID for the OAuth provider, used for Sign in with Apple in mobile apps.
|
|
1290
|
+
*/
|
|
1291
|
+
nativeClientId: string;
|
|
1292
|
+
/**
|
|
1293
|
+
* The client secret for the OAuth provider, used for Sign in with Apple in mobile apps.
|
|
1294
|
+
*/
|
|
1295
|
+
nativeClientSecret: string;
|
|
984
1296
|
/**
|
|
985
1297
|
* Custom prompts or consent screens that users may see during OAuth authentication.
|
|
986
1298
|
*/
|
|
@@ -1001,11 +1313,43 @@ export interface ProjectAuthenticationOauthSystemGoogle {
|
|
|
1001
1313
|
* The URL where the application requests an access token from the OAuth provider.
|
|
1002
1314
|
*/
|
|
1003
1315
|
tokenEndpoint: string;
|
|
1316
|
+
/**
|
|
1317
|
+
* Use private key JWT (client assertion) instead of client secret.
|
|
1318
|
+
*/
|
|
1319
|
+
useClientAssertion: boolean;
|
|
1004
1320
|
/**
|
|
1005
1321
|
* The URL where the application retrieves user information from the OAuth provider.
|
|
1006
1322
|
*/
|
|
1007
1323
|
userInfoEndpoint: string;
|
|
1008
1324
|
}
|
|
1325
|
+
export interface ProjectAuthenticationOauthSystemGoogleAppleKeyGenerator {
|
|
1326
|
+
/**
|
|
1327
|
+
* The apple generator key id produced by Apple.
|
|
1328
|
+
*/
|
|
1329
|
+
keyId: string;
|
|
1330
|
+
/**
|
|
1331
|
+
* The apple generator private key produced by Apple.
|
|
1332
|
+
*/
|
|
1333
|
+
privateKey: string;
|
|
1334
|
+
/**
|
|
1335
|
+
* The apple generator team id assigned to the key by Apple.
|
|
1336
|
+
*/
|
|
1337
|
+
teamId: string;
|
|
1338
|
+
}
|
|
1339
|
+
export interface ProjectAuthenticationOauthSystemGoogleNativeAppleKeyGenerator {
|
|
1340
|
+
/**
|
|
1341
|
+
* The apple generator key id produced by Apple.
|
|
1342
|
+
*/
|
|
1343
|
+
keyId: string;
|
|
1344
|
+
/**
|
|
1345
|
+
* The apple generator private key produced by Apple.
|
|
1346
|
+
*/
|
|
1347
|
+
privateKey: string;
|
|
1348
|
+
/**
|
|
1349
|
+
* The apple generator team id assigned to the key by Apple.
|
|
1350
|
+
*/
|
|
1351
|
+
teamId: string;
|
|
1352
|
+
}
|
|
1009
1353
|
export interface ProjectAuthenticationOauthSystemGoogleProviderTokenManagement {
|
|
1010
1354
|
}
|
|
1011
1355
|
export interface ProjectAuthenticationOauthSystemLinkedin {
|
|
@@ -1013,6 +1357,10 @@ export interface ProjectAuthenticationOauthSystemLinkedin {
|
|
|
1013
1357
|
* The type of grants (`authorizationCode` or `implicit`) to allow when requesting access tokens from the OAuth provider.
|
|
1014
1358
|
*/
|
|
1015
1359
|
allowedGrantTypes: string[];
|
|
1360
|
+
/**
|
|
1361
|
+
* The apple key generator object describing how to create a dynamic apple client secret for applications.
|
|
1362
|
+
*/
|
|
1363
|
+
appleKeyGenerator: outputs.ProjectAuthenticationOauthSystemLinkedinAppleKeyGenerator;
|
|
1016
1364
|
/**
|
|
1017
1365
|
* The URL that users are redirected to for authorization with the OAuth provider.
|
|
1018
1366
|
*/
|
|
@@ -1063,6 +1411,18 @@ export interface ProjectAuthenticationOauthSystemLinkedin {
|
|
|
1063
1411
|
* Whether to merge existing user accounts with new ones created through OAuth authentication.
|
|
1064
1412
|
*/
|
|
1065
1413
|
mergeUserAccounts: boolean;
|
|
1414
|
+
/**
|
|
1415
|
+
* The apple key generator object describing how to create a dynamic native apple client secret for mobile apps.
|
|
1416
|
+
*/
|
|
1417
|
+
nativeAppleKeyGenerator: outputs.ProjectAuthenticationOauthSystemLinkedinNativeAppleKeyGenerator;
|
|
1418
|
+
/**
|
|
1419
|
+
* The client ID for the OAuth provider, used for Sign in with Apple in mobile apps.
|
|
1420
|
+
*/
|
|
1421
|
+
nativeClientId: string;
|
|
1422
|
+
/**
|
|
1423
|
+
* The client secret for the OAuth provider, used for Sign in with Apple in mobile apps.
|
|
1424
|
+
*/
|
|
1425
|
+
nativeClientSecret: string;
|
|
1066
1426
|
/**
|
|
1067
1427
|
* Custom prompts or consent screens that users may see during OAuth authentication.
|
|
1068
1428
|
*/
|
|
@@ -1083,11 +1443,43 @@ export interface ProjectAuthenticationOauthSystemLinkedin {
|
|
|
1083
1443
|
* The URL where the application requests an access token from the OAuth provider.
|
|
1084
1444
|
*/
|
|
1085
1445
|
tokenEndpoint: string;
|
|
1446
|
+
/**
|
|
1447
|
+
* Use private key JWT (client assertion) instead of client secret.
|
|
1448
|
+
*/
|
|
1449
|
+
useClientAssertion: boolean;
|
|
1086
1450
|
/**
|
|
1087
1451
|
* The URL where the application retrieves user information from the OAuth provider.
|
|
1088
1452
|
*/
|
|
1089
1453
|
userInfoEndpoint: string;
|
|
1090
1454
|
}
|
|
1455
|
+
export interface ProjectAuthenticationOauthSystemLinkedinAppleKeyGenerator {
|
|
1456
|
+
/**
|
|
1457
|
+
* The apple generator key id produced by Apple.
|
|
1458
|
+
*/
|
|
1459
|
+
keyId: string;
|
|
1460
|
+
/**
|
|
1461
|
+
* The apple generator private key produced by Apple.
|
|
1462
|
+
*/
|
|
1463
|
+
privateKey: string;
|
|
1464
|
+
/**
|
|
1465
|
+
* The apple generator team id assigned to the key by Apple.
|
|
1466
|
+
*/
|
|
1467
|
+
teamId: string;
|
|
1468
|
+
}
|
|
1469
|
+
export interface ProjectAuthenticationOauthSystemLinkedinNativeAppleKeyGenerator {
|
|
1470
|
+
/**
|
|
1471
|
+
* The apple generator key id produced by Apple.
|
|
1472
|
+
*/
|
|
1473
|
+
keyId: string;
|
|
1474
|
+
/**
|
|
1475
|
+
* The apple generator private key produced by Apple.
|
|
1476
|
+
*/
|
|
1477
|
+
privateKey: string;
|
|
1478
|
+
/**
|
|
1479
|
+
* The apple generator team id assigned to the key by Apple.
|
|
1480
|
+
*/
|
|
1481
|
+
teamId: string;
|
|
1482
|
+
}
|
|
1091
1483
|
export interface ProjectAuthenticationOauthSystemLinkedinProviderTokenManagement {
|
|
1092
1484
|
}
|
|
1093
1485
|
export interface ProjectAuthenticationOauthSystemMicrosoft {
|
|
@@ -1095,6 +1487,10 @@ export interface ProjectAuthenticationOauthSystemMicrosoft {
|
|
|
1095
1487
|
* The type of grants (`authorizationCode` or `implicit`) to allow when requesting access tokens from the OAuth provider.
|
|
1096
1488
|
*/
|
|
1097
1489
|
allowedGrantTypes: string[];
|
|
1490
|
+
/**
|
|
1491
|
+
* The apple key generator object describing how to create a dynamic apple client secret for applications.
|
|
1492
|
+
*/
|
|
1493
|
+
appleKeyGenerator: outputs.ProjectAuthenticationOauthSystemMicrosoftAppleKeyGenerator;
|
|
1098
1494
|
/**
|
|
1099
1495
|
* The URL that users are redirected to for authorization with the OAuth provider.
|
|
1100
1496
|
*/
|
|
@@ -1145,6 +1541,18 @@ export interface ProjectAuthenticationOauthSystemMicrosoft {
|
|
|
1145
1541
|
* Whether to merge existing user accounts with new ones created through OAuth authentication.
|
|
1146
1542
|
*/
|
|
1147
1543
|
mergeUserAccounts: boolean;
|
|
1544
|
+
/**
|
|
1545
|
+
* The apple key generator object describing how to create a dynamic native apple client secret for mobile apps.
|
|
1546
|
+
*/
|
|
1547
|
+
nativeAppleKeyGenerator: outputs.ProjectAuthenticationOauthSystemMicrosoftNativeAppleKeyGenerator;
|
|
1548
|
+
/**
|
|
1549
|
+
* The client ID for the OAuth provider, used for Sign in with Apple in mobile apps.
|
|
1550
|
+
*/
|
|
1551
|
+
nativeClientId: string;
|
|
1552
|
+
/**
|
|
1553
|
+
* The client secret for the OAuth provider, used for Sign in with Apple in mobile apps.
|
|
1554
|
+
*/
|
|
1555
|
+
nativeClientSecret: string;
|
|
1148
1556
|
/**
|
|
1149
1557
|
* Custom prompts or consent screens that users may see during OAuth authentication.
|
|
1150
1558
|
*/
|
|
@@ -1165,11 +1573,43 @@ export interface ProjectAuthenticationOauthSystemMicrosoft {
|
|
|
1165
1573
|
* The URL where the application requests an access token from the OAuth provider.
|
|
1166
1574
|
*/
|
|
1167
1575
|
tokenEndpoint: string;
|
|
1576
|
+
/**
|
|
1577
|
+
* Use private key JWT (client assertion) instead of client secret.
|
|
1578
|
+
*/
|
|
1579
|
+
useClientAssertion: boolean;
|
|
1168
1580
|
/**
|
|
1169
1581
|
* The URL where the application retrieves user information from the OAuth provider.
|
|
1170
1582
|
*/
|
|
1171
1583
|
userInfoEndpoint: string;
|
|
1172
1584
|
}
|
|
1585
|
+
export interface ProjectAuthenticationOauthSystemMicrosoftAppleKeyGenerator {
|
|
1586
|
+
/**
|
|
1587
|
+
* The apple generator key id produced by Apple.
|
|
1588
|
+
*/
|
|
1589
|
+
keyId: string;
|
|
1590
|
+
/**
|
|
1591
|
+
* The apple generator private key produced by Apple.
|
|
1592
|
+
*/
|
|
1593
|
+
privateKey: string;
|
|
1594
|
+
/**
|
|
1595
|
+
* The apple generator team id assigned to the key by Apple.
|
|
1596
|
+
*/
|
|
1597
|
+
teamId: string;
|
|
1598
|
+
}
|
|
1599
|
+
export interface ProjectAuthenticationOauthSystemMicrosoftNativeAppleKeyGenerator {
|
|
1600
|
+
/**
|
|
1601
|
+
* The apple generator key id produced by Apple.
|
|
1602
|
+
*/
|
|
1603
|
+
keyId: string;
|
|
1604
|
+
/**
|
|
1605
|
+
* The apple generator private key produced by Apple.
|
|
1606
|
+
*/
|
|
1607
|
+
privateKey: string;
|
|
1608
|
+
/**
|
|
1609
|
+
* The apple generator team id assigned to the key by Apple.
|
|
1610
|
+
*/
|
|
1611
|
+
teamId: string;
|
|
1612
|
+
}
|
|
1173
1613
|
export interface ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagement {
|
|
1174
1614
|
}
|
|
1175
1615
|
export interface ProjectAuthenticationOauthSystemSlack {
|
|
@@ -1177,6 +1617,10 @@ export interface ProjectAuthenticationOauthSystemSlack {
|
|
|
1177
1617
|
* The type of grants (`authorizationCode` or `implicit`) to allow when requesting access tokens from the OAuth provider.
|
|
1178
1618
|
*/
|
|
1179
1619
|
allowedGrantTypes: string[];
|
|
1620
|
+
/**
|
|
1621
|
+
* The apple key generator object describing how to create a dynamic apple client secret for applications.
|
|
1622
|
+
*/
|
|
1623
|
+
appleKeyGenerator: outputs.ProjectAuthenticationOauthSystemSlackAppleKeyGenerator;
|
|
1180
1624
|
/**
|
|
1181
1625
|
* The URL that users are redirected to for authorization with the OAuth provider.
|
|
1182
1626
|
*/
|
|
@@ -1227,6 +1671,18 @@ export interface ProjectAuthenticationOauthSystemSlack {
|
|
|
1227
1671
|
* Whether to merge existing user accounts with new ones created through OAuth authentication.
|
|
1228
1672
|
*/
|
|
1229
1673
|
mergeUserAccounts: boolean;
|
|
1674
|
+
/**
|
|
1675
|
+
* The apple key generator object describing how to create a dynamic native apple client secret for mobile apps.
|
|
1676
|
+
*/
|
|
1677
|
+
nativeAppleKeyGenerator: outputs.ProjectAuthenticationOauthSystemSlackNativeAppleKeyGenerator;
|
|
1678
|
+
/**
|
|
1679
|
+
* The client ID for the OAuth provider, used for Sign in with Apple in mobile apps.
|
|
1680
|
+
*/
|
|
1681
|
+
nativeClientId: string;
|
|
1682
|
+
/**
|
|
1683
|
+
* The client secret for the OAuth provider, used for Sign in with Apple in mobile apps.
|
|
1684
|
+
*/
|
|
1685
|
+
nativeClientSecret: string;
|
|
1230
1686
|
/**
|
|
1231
1687
|
* Custom prompts or consent screens that users may see during OAuth authentication.
|
|
1232
1688
|
*/
|
|
@@ -1247,11 +1703,43 @@ export interface ProjectAuthenticationOauthSystemSlack {
|
|
|
1247
1703
|
* The URL where the application requests an access token from the OAuth provider.
|
|
1248
1704
|
*/
|
|
1249
1705
|
tokenEndpoint: string;
|
|
1706
|
+
/**
|
|
1707
|
+
* Use private key JWT (client assertion) instead of client secret.
|
|
1708
|
+
*/
|
|
1709
|
+
useClientAssertion: boolean;
|
|
1250
1710
|
/**
|
|
1251
1711
|
* The URL where the application retrieves user information from the OAuth provider.
|
|
1252
1712
|
*/
|
|
1253
1713
|
userInfoEndpoint: string;
|
|
1254
1714
|
}
|
|
1715
|
+
export interface ProjectAuthenticationOauthSystemSlackAppleKeyGenerator {
|
|
1716
|
+
/**
|
|
1717
|
+
* The apple generator key id produced by Apple.
|
|
1718
|
+
*/
|
|
1719
|
+
keyId: string;
|
|
1720
|
+
/**
|
|
1721
|
+
* The apple generator private key produced by Apple.
|
|
1722
|
+
*/
|
|
1723
|
+
privateKey: string;
|
|
1724
|
+
/**
|
|
1725
|
+
* The apple generator team id assigned to the key by Apple.
|
|
1726
|
+
*/
|
|
1727
|
+
teamId: string;
|
|
1728
|
+
}
|
|
1729
|
+
export interface ProjectAuthenticationOauthSystemSlackNativeAppleKeyGenerator {
|
|
1730
|
+
/**
|
|
1731
|
+
* The apple generator key id produced by Apple.
|
|
1732
|
+
*/
|
|
1733
|
+
keyId: string;
|
|
1734
|
+
/**
|
|
1735
|
+
* The apple generator private key produced by Apple.
|
|
1736
|
+
*/
|
|
1737
|
+
privateKey: string;
|
|
1738
|
+
/**
|
|
1739
|
+
* The apple generator team id assigned to the key by Apple.
|
|
1740
|
+
*/
|
|
1741
|
+
teamId: string;
|
|
1742
|
+
}
|
|
1255
1743
|
export interface ProjectAuthenticationOauthSystemSlackProviderTokenManagement {
|
|
1256
1744
|
}
|
|
1257
1745
|
export interface ProjectAuthenticationOtp {
|
|
@@ -1406,6 +1894,10 @@ export interface ProjectAuthenticationPassword {
|
|
|
1406
1894
|
* Whether passwords must contain at least one lowercase letter.
|
|
1407
1895
|
*/
|
|
1408
1896
|
lowercase: boolean;
|
|
1897
|
+
/**
|
|
1898
|
+
* Prevents information about user accounts from being revealed in error messages, e.g., whether a user already exists.
|
|
1899
|
+
*/
|
|
1900
|
+
maskErrors: boolean;
|
|
1409
1901
|
/**
|
|
1410
1902
|
* The minimum length of the password that users are required to use. The maximum length is always `64`.
|
|
1411
1903
|
*/
|
|
@@ -1426,6 +1918,18 @@ export interface ProjectAuthenticationPassword {
|
|
|
1426
1918
|
* The number of previous passwords whose hashes are kept to prevent users from reusing old passwords.
|
|
1427
1919
|
*/
|
|
1428
1920
|
reuseAmount: number;
|
|
1921
|
+
/**
|
|
1922
|
+
* Whether the user account should be temporarily locked after a specified number of failed login attempts.
|
|
1923
|
+
*/
|
|
1924
|
+
temporaryLock: boolean;
|
|
1925
|
+
/**
|
|
1926
|
+
* The number of failed login attempts allowed before an account is temporarily locked.
|
|
1927
|
+
*/
|
|
1928
|
+
temporaryLockAttempts: number;
|
|
1929
|
+
/**
|
|
1930
|
+
* The amount of time before the user can sign in again after the account is temporarily locked.
|
|
1931
|
+
*/
|
|
1932
|
+
temporaryLockDuration: string;
|
|
1429
1933
|
/**
|
|
1430
1934
|
* Whether passwords must contain at least one uppercase letter.
|
|
1431
1935
|
*/
|
|
@@ -1469,6 +1973,10 @@ export interface ProjectAuthenticationPasswordEmailServiceTemplate {
|
|
|
1469
1973
|
usePlainTextBody: boolean;
|
|
1470
1974
|
}
|
|
1471
1975
|
export interface ProjectAuthenticationSso {
|
|
1976
|
+
/**
|
|
1977
|
+
* Whether to allow duplicate SSO domains across tenants.
|
|
1978
|
+
*/
|
|
1979
|
+
allowDuplicateDomains: boolean;
|
|
1472
1980
|
/**
|
|
1473
1981
|
* Setting this to `true` will disallow using this authentication method directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use this authentication method.
|
|
1474
1982
|
*/
|
|
@@ -1477,12 +1985,54 @@ export interface ProjectAuthenticationSso {
|
|
|
1477
1985
|
* Whether to merge existing user accounts with new ones created through SSO authentication.
|
|
1478
1986
|
*/
|
|
1479
1987
|
mergeUsers: boolean;
|
|
1988
|
+
/**
|
|
1989
|
+
* The URL the end user is redirected to after a successful authentication. If one is specified in tenant level settings or SDK/API call, they will override this value.
|
|
1990
|
+
*/
|
|
1991
|
+
redirectUrl: string;
|
|
1992
|
+
/**
|
|
1993
|
+
* Configuration block for the SSO Suite.
|
|
1994
|
+
*/
|
|
1995
|
+
ssoSuiteSettings: outputs.ProjectAuthenticationSsoSsoSuiteSettings;
|
|
1996
|
+
}
|
|
1997
|
+
export interface ProjectAuthenticationSsoSsoSuiteSettings {
|
|
1998
|
+
/**
|
|
1999
|
+
* Setting this to `true` will allow only verified domains to be used.
|
|
2000
|
+
*/
|
|
2001
|
+
forceDomainVerification: boolean;
|
|
2002
|
+
/**
|
|
2003
|
+
* Setting this to `true` will hide the domains configuration section in the SSO Suite interface.
|
|
2004
|
+
*/
|
|
2005
|
+
hideDomains: boolean;
|
|
2006
|
+
/**
|
|
2007
|
+
* Setting this to `true` will hide the groups mapping configuration section in the SSO Suite interface.
|
|
2008
|
+
*/
|
|
2009
|
+
hideGroupsMapping: boolean;
|
|
2010
|
+
/**
|
|
2011
|
+
* Setting this to `true` will hide the OIDC configuration option.
|
|
2012
|
+
*/
|
|
2013
|
+
hideOidc: boolean;
|
|
2014
|
+
/**
|
|
2015
|
+
* Setting this to `true` will hide the SAML configuration option.
|
|
2016
|
+
*/
|
|
2017
|
+
hideSaml: boolean;
|
|
2018
|
+
/**
|
|
2019
|
+
* Setting this to `true` will hide the SCIM configuration in the SSO Suite interface.
|
|
2020
|
+
*/
|
|
2021
|
+
hideScim: boolean;
|
|
2022
|
+
/**
|
|
2023
|
+
* Specifies the style ID to apply in the SSO Suite. Ensure a style with this ID exists in the console for it to be used.
|
|
2024
|
+
*/
|
|
2025
|
+
styleId: string;
|
|
1480
2026
|
}
|
|
1481
2027
|
export interface ProjectAuthenticationTotp {
|
|
1482
2028
|
/**
|
|
1483
2029
|
* Setting this to `true` will disallow using this authentication method directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use this authentication method.
|
|
1484
2030
|
*/
|
|
1485
2031
|
disabled: boolean;
|
|
2032
|
+
/**
|
|
2033
|
+
* The template for the service issuer label (issuer) shown in the authenticator app.
|
|
2034
|
+
*/
|
|
2035
|
+
serviceLabel: string;
|
|
1486
2036
|
}
|
|
1487
2037
|
export interface ProjectAuthorization {
|
|
1488
2038
|
/**
|
|
@@ -1506,11 +2056,16 @@ export interface ProjectAuthorizationPermission {
|
|
|
1506
2056
|
name: string;
|
|
1507
2057
|
}
|
|
1508
2058
|
export interface ProjectAuthorizationRole {
|
|
2059
|
+
/**
|
|
2060
|
+
* Whether this role should automatically be assigned to users that are created without any roles.
|
|
2061
|
+
*/
|
|
2062
|
+
default: boolean;
|
|
1509
2063
|
/**
|
|
1510
2064
|
* A description for the role.
|
|
1511
2065
|
*/
|
|
1512
2066
|
description: string;
|
|
1513
2067
|
id: string;
|
|
2068
|
+
key: string;
|
|
1514
2069
|
/**
|
|
1515
2070
|
* A name for the role.
|
|
1516
2071
|
*/
|
|
@@ -1519,6 +2074,10 @@ export interface ProjectAuthorizationRole {
|
|
|
1519
2074
|
* A list of permissions by name to be included in the role.
|
|
1520
2075
|
*/
|
|
1521
2076
|
permissions: string[];
|
|
2077
|
+
/**
|
|
2078
|
+
* Whether this role should not be displayed to tenant admins.
|
|
2079
|
+
*/
|
|
2080
|
+
private: boolean;
|
|
1522
2081
|
}
|
|
1523
2082
|
export interface ProjectConnectors {
|
|
1524
2083
|
/**
|
|
@@ -1542,13 +2101,9 @@ export interface ProjectConnectors {
|
|
|
1542
2101
|
*/
|
|
1543
2102
|
awsTranslates: outputs.ProjectConnectorsAwsTranslate[];
|
|
1544
2103
|
/**
|
|
1545
|
-
*
|
|
2104
|
+
* Utilize threat intelligence to block malicious login attempts or check leaks with the Bitsight Threat Intelligence connector.
|
|
1546
2105
|
*/
|
|
1547
|
-
|
|
1548
|
-
/**
|
|
1549
|
-
* Utilize threat intelligence to block malicious login attempts or check leaks with the Cybersixgill connector.
|
|
1550
|
-
*/
|
|
1551
|
-
cybersixgills: outputs.ProjectConnectorsCybersixgill[];
|
|
2106
|
+
bitsights: outputs.ProjectConnectorsBitsight[];
|
|
1552
2107
|
/**
|
|
1553
2108
|
* Stream authentication audit logs with the Datadog connector.
|
|
1554
2109
|
*/
|
|
@@ -1601,6 +2156,10 @@ export interface ProjectConnectors {
|
|
|
1601
2156
|
* Send messages using a generic SMS gateway.
|
|
1602
2157
|
*/
|
|
1603
2158
|
genericSmsGateways: outputs.ProjectConnectorsGenericSmsGateway[];
|
|
2159
|
+
/**
|
|
2160
|
+
* Stream logs and audit events with the Google Cloud Logging connector.
|
|
2161
|
+
*/
|
|
2162
|
+
googleCloudLoggings: outputs.ProjectConnectorsGoogleCloudLogging[];
|
|
1604
2163
|
/**
|
|
1605
2164
|
* Localize the language of your login and user journey screens with the Google Cloud Translation connector.
|
|
1606
2165
|
*/
|
|
@@ -1941,32 +2500,13 @@ export interface ProjectConnectorsAwsTranslate {
|
|
|
1941
2500
|
*/
|
|
1942
2501
|
sessionToken: string;
|
|
1943
2502
|
}
|
|
1944
|
-
export interface
|
|
1945
|
-
/**
|
|
1946
|
-
* Your CLEAR API key.
|
|
1947
|
-
*/
|
|
1948
|
-
apiKey: string;
|
|
2503
|
+
export interface ProjectConnectorsBitsight {
|
|
1949
2504
|
/**
|
|
1950
|
-
*
|
|
1951
|
-
*/
|
|
1952
|
-
description: string;
|
|
1953
|
-
id: string;
|
|
1954
|
-
/**
|
|
1955
|
-
* A custom name for your connector.
|
|
1956
|
-
*/
|
|
1957
|
-
name: string;
|
|
1958
|
-
/**
|
|
1959
|
-
* Your CLEAR project ID.
|
|
1960
|
-
*/
|
|
1961
|
-
projectId: string;
|
|
1962
|
-
}
|
|
1963
|
-
export interface ProjectConnectorsCybersixgill {
|
|
1964
|
-
/**
|
|
1965
|
-
* API Client ID issued when you create the credentials in Cybersixgill.
|
|
2505
|
+
* API Client ID issued when you create the credentials in Bitsight Threat Intelligence.
|
|
1966
2506
|
*/
|
|
1967
2507
|
clientId: string;
|
|
1968
2508
|
/**
|
|
1969
|
-
* Client secret issued when you create the credentials in
|
|
2509
|
+
* Client secret issued when you create the credentials in Bitsight Threat Intelligence.
|
|
1970
2510
|
*/
|
|
1971
2511
|
clientSecret: string;
|
|
1972
2512
|
/**
|
|
@@ -2460,6 +3000,47 @@ export interface ProjectConnectorsGenericSmsGatewayAuthenticationBasic {
|
|
|
2460
3000
|
*/
|
|
2461
3001
|
username: string;
|
|
2462
3002
|
}
|
|
3003
|
+
export interface ProjectConnectorsGoogleCloudLogging {
|
|
3004
|
+
/**
|
|
3005
|
+
* Whether to enable streaming of audit events.
|
|
3006
|
+
*/
|
|
3007
|
+
auditEnabled: boolean;
|
|
3008
|
+
/**
|
|
3009
|
+
* Specify which events will be sent to the external audit service (including tenant selection).
|
|
3010
|
+
*/
|
|
3011
|
+
auditFilters: outputs.ProjectConnectorsGoogleCloudLoggingAuditFilter[];
|
|
3012
|
+
/**
|
|
3013
|
+
* A description of what your connector is used for.
|
|
3014
|
+
*/
|
|
3015
|
+
description: string;
|
|
3016
|
+
id: string;
|
|
3017
|
+
/**
|
|
3018
|
+
* A custom name for your connector.
|
|
3019
|
+
*/
|
|
3020
|
+
name: string;
|
|
3021
|
+
/**
|
|
3022
|
+
* A Service Account Key JSON file created from a service account on your Google Cloud project. This file is used to authenticate and authorize the connector to access Google Cloud Logging. The service account this key belongs to must have the appropriate permissions to write logs.
|
|
3023
|
+
*/
|
|
3024
|
+
serviceAccountKey: string;
|
|
3025
|
+
/**
|
|
3026
|
+
* Whether to send troubleshooting events.
|
|
3027
|
+
*/
|
|
3028
|
+
troubleshootLogEnabled: boolean;
|
|
3029
|
+
}
|
|
3030
|
+
export interface ProjectConnectorsGoogleCloudLoggingAuditFilter {
|
|
3031
|
+
/**
|
|
3032
|
+
* The field name to filter on (either 'actions' or 'tenants').
|
|
3033
|
+
*/
|
|
3034
|
+
key: string;
|
|
3035
|
+
/**
|
|
3036
|
+
* The filter operation to apply ('includes' or 'excludes').
|
|
3037
|
+
*/
|
|
3038
|
+
operator: string;
|
|
3039
|
+
/**
|
|
3040
|
+
* The list of values to match against for the filter.
|
|
3041
|
+
*/
|
|
3042
|
+
values: string[];
|
|
3043
|
+
}
|
|
2463
3044
|
export interface ProjectConnectorsGoogleCloudTranslation {
|
|
2464
3045
|
/**
|
|
2465
3046
|
* A description of what your connector is used for.
|
|
@@ -2839,6 +3420,14 @@ export interface ProjectConnectorsRecaptchaEnterprise {
|
|
|
2839
3420
|
* When configured, the Recaptcha action will return the score without assessing the request. The score ranges between 0 and 1, where 1 is a human interaction and 0 is a bot.
|
|
2840
3421
|
*/
|
|
2841
3422
|
assessmentScore: number;
|
|
3423
|
+
/**
|
|
3424
|
+
* Apply a custom url to the reCAPTCHA Enterprise scripts. This is useful when attempting to use reCAPTCHA globally. Defaults to https://www.google.com
|
|
3425
|
+
*/
|
|
3426
|
+
baseUrl: string;
|
|
3427
|
+
/**
|
|
3428
|
+
* The bot threshold is used to determine whether the request is a bot or a human. The score ranges between 0 and 1, where 1 is a human interaction and 0 is a bot. If the score is below this threshold, the request is considered a bot.
|
|
3429
|
+
*/
|
|
3430
|
+
botThreshold: number;
|
|
2842
3431
|
/**
|
|
2843
3432
|
* A description of what your connector is used for.
|
|
2844
3433
|
*/
|
|
@@ -2970,6 +3559,10 @@ export interface ProjectConnectorsSe {
|
|
|
2970
3559
|
* AWS Access key ID.
|
|
2971
3560
|
*/
|
|
2972
3561
|
accessKeyId: string;
|
|
3562
|
+
/**
|
|
3563
|
+
* The authentication type to use.
|
|
3564
|
+
*/
|
|
3565
|
+
authType: string;
|
|
2973
3566
|
/**
|
|
2974
3567
|
* A description of what your connector is used for.
|
|
2975
3568
|
*/
|
|
@@ -2978,6 +3571,10 @@ export interface ProjectConnectorsSe {
|
|
|
2978
3571
|
* An optional endpoint URL (hostname only or fully qualified URI).
|
|
2979
3572
|
*/
|
|
2980
3573
|
endpoint: string;
|
|
3574
|
+
/**
|
|
3575
|
+
* The external ID to use when assuming the role.
|
|
3576
|
+
*/
|
|
3577
|
+
externalId: string;
|
|
2981
3578
|
id: string;
|
|
2982
3579
|
/**
|
|
2983
3580
|
* A custom name for your connector.
|
|
@@ -2987,6 +3584,10 @@ export interface ProjectConnectorsSe {
|
|
|
2987
3584
|
* AWS region to send requests to (e.g. `us-west-2`).
|
|
2988
3585
|
*/
|
|
2989
3586
|
region: string;
|
|
3587
|
+
/**
|
|
3588
|
+
* The Amazon Resource Name (ARN) of the role to assume.
|
|
3589
|
+
*/
|
|
3590
|
+
roleArn: string;
|
|
2990
3591
|
/**
|
|
2991
3592
|
* AWS Secret Access Key.
|
|
2992
3593
|
*/
|
|
@@ -3182,9 +3783,15 @@ export interface ProjectConnectorsSn {
|
|
|
3182
3783
|
*/
|
|
3183
3784
|
name: string;
|
|
3184
3785
|
/**
|
|
3185
|
-
*
|
|
3786
|
+
* Use the `originationNumber` attribute instead.
|
|
3787
|
+
*
|
|
3788
|
+
* @deprecated The organizationNumber attribute has been renamed, set the originationNumber attribute instead. This attribute will be removed in a future version of the provider.
|
|
3186
3789
|
*/
|
|
3187
3790
|
organizationNumber: string;
|
|
3791
|
+
/**
|
|
3792
|
+
* An optional phone number from which the text messages are going to be sent. Make sure it is registered properly in your server.
|
|
3793
|
+
*/
|
|
3794
|
+
originationNumber: string;
|
|
3188
3795
|
/**
|
|
3189
3796
|
* AWS region to send requests to (e.g. `us-west-2`).
|
|
3190
3797
|
*/
|
|
@@ -3244,6 +3851,20 @@ export interface ProjectConnectorsSumologicAuditFilter {
|
|
|
3244
3851
|
values: string[];
|
|
3245
3852
|
}
|
|
3246
3853
|
export interface ProjectConnectorsSupabase {
|
|
3854
|
+
/**
|
|
3855
|
+
* The authentication type to use.
|
|
3856
|
+
*/
|
|
3857
|
+
authType: string;
|
|
3858
|
+
/**
|
|
3859
|
+
* Enable to automatically create users in Supabase when generating tokens. Will only create a new user if one does not already exist. When disabled, only JWT tokens will be generated, WITHOUT user creation.
|
|
3860
|
+
*/
|
|
3861
|
+
createUsers: boolean;
|
|
3862
|
+
/**
|
|
3863
|
+
* A mapping of Descope user fields or JWT claims to Supabase custom claims
|
|
3864
|
+
*/
|
|
3865
|
+
customClaimsMapping: {
|
|
3866
|
+
[key: string]: string;
|
|
3867
|
+
};
|
|
3247
3868
|
/**
|
|
3248
3869
|
* A description of what your connector is used for.
|
|
3249
3870
|
*/
|
|
@@ -3257,6 +3878,18 @@ export interface ProjectConnectorsSupabase {
|
|
|
3257
3878
|
* A custom name for your connector.
|
|
3258
3879
|
*/
|
|
3259
3880
|
name: string;
|
|
3881
|
+
/**
|
|
3882
|
+
* The private key in JWK format used to sign the JWT. You can generate a key using tools like `npx supabase gen signing-key --algorithm ES256`. Make sure to use the ES256 algorithm.
|
|
3883
|
+
*/
|
|
3884
|
+
privateKey: string;
|
|
3885
|
+
/**
|
|
3886
|
+
* Your Supabase Project's API base URL, e.g.: https://\n\n.supabase.co.
|
|
3887
|
+
*/
|
|
3888
|
+
projectBaseUrl: string;
|
|
3889
|
+
/**
|
|
3890
|
+
* The service role API key for your Supabase project, required to create users.
|
|
3891
|
+
*/
|
|
3892
|
+
serviceRoleApiKey: string;
|
|
3260
3893
|
/**
|
|
3261
3894
|
* The signing secret for your Supabase project.
|
|
3262
3895
|
*/
|
|
@@ -3434,6 +4067,18 @@ export interface ProjectInviteSettings {
|
|
|
3434
4067
|
* Whether to include a magic link token in invitation messages.
|
|
3435
4068
|
*/
|
|
3436
4069
|
addMagiclinkToken: boolean;
|
|
4070
|
+
/**
|
|
4071
|
+
* Settings related to sending invitation emails.
|
|
4072
|
+
*/
|
|
4073
|
+
emailService: outputs.ProjectInviteSettingsEmailService;
|
|
4074
|
+
/**
|
|
4075
|
+
* Expire the user account if the invitation is not accepted within the expiration time.
|
|
4076
|
+
*/
|
|
4077
|
+
expireInvitedUsers: boolean;
|
|
4078
|
+
/**
|
|
4079
|
+
* The expiry time for the invitation, meant to be used together with `expireInvitedUsers` and/or `addMagiclinkToken`. Use values such as "2 weeks", "4 days", etc. The minimum value is "1 hour".
|
|
4080
|
+
*/
|
|
4081
|
+
inviteExpiration: string;
|
|
3437
4082
|
/**
|
|
3438
4083
|
* Custom URL to include in the message sent to invited users.
|
|
3439
4084
|
*/
|
|
@@ -3451,6 +4096,43 @@ export interface ProjectInviteSettings {
|
|
|
3451
4096
|
*/
|
|
3452
4097
|
sendText: boolean;
|
|
3453
4098
|
}
|
|
4099
|
+
export interface ProjectInviteSettingsEmailService {
|
|
4100
|
+
/**
|
|
4101
|
+
* The name of the email connector to use for sending emails.
|
|
4102
|
+
*/
|
|
4103
|
+
connector: string;
|
|
4104
|
+
/**
|
|
4105
|
+
* A list of email templates for different authentication flows.
|
|
4106
|
+
*/
|
|
4107
|
+
templates: outputs.ProjectInviteSettingsEmailServiceTemplate[];
|
|
4108
|
+
}
|
|
4109
|
+
export interface ProjectInviteSettingsEmailServiceTemplate {
|
|
4110
|
+
/**
|
|
4111
|
+
* Whether this email template is currently active and in use.
|
|
4112
|
+
*/
|
|
4113
|
+
active: boolean;
|
|
4114
|
+
/**
|
|
4115
|
+
* HTML content of the email message body, required if `usePlainTextBody` isn't set.
|
|
4116
|
+
*/
|
|
4117
|
+
htmlBody: string;
|
|
4118
|
+
id: string;
|
|
4119
|
+
/**
|
|
4120
|
+
* Unique name for this email template.
|
|
4121
|
+
*/
|
|
4122
|
+
name: string;
|
|
4123
|
+
/**
|
|
4124
|
+
* Plain text version of the email message body, required if `usePlainTextBody` is set to `true`.
|
|
4125
|
+
*/
|
|
4126
|
+
plainTextBody: string;
|
|
4127
|
+
/**
|
|
4128
|
+
* Subject line of the email message.
|
|
4129
|
+
*/
|
|
4130
|
+
subject: string;
|
|
4131
|
+
/**
|
|
4132
|
+
* Whether to use the plain text body instead of HTML for the email.
|
|
4133
|
+
*/
|
|
4134
|
+
usePlainTextBody: boolean;
|
|
4135
|
+
}
|
|
3454
4136
|
export interface ProjectJwtTemplates {
|
|
3455
4137
|
/**
|
|
3456
4138
|
* A list of `Access Key` type JWT Templates.
|
|
@@ -3661,3 +4343,9 @@ export interface ProjectStyles {
|
|
|
3661
4343
|
*/
|
|
3662
4344
|
data: string;
|
|
3663
4345
|
}
|
|
4346
|
+
export interface ProjectWidgets {
|
|
4347
|
+
/**
|
|
4348
|
+
* The JSON data defining the widget. This will usually be exported as a `.json` file from the Descope console, and set in the `.tf` file using the `data = file("...")` syntax.
|
|
4349
|
+
*/
|
|
4350
|
+
data: string;
|
|
4351
|
+
}
|