File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ type SamlConnectionListParams = {
13
13
type CreateSamlConnectionParams = {
14
14
name : string ;
15
15
provider : SamlIdpSlug ;
16
+ /** @deprecated Use `domains` array instead. This field will be removed in a future API version.. */
16
17
domain : string ;
18
+ domains : string [ ] ;
17
19
organizationId ?: string ;
18
20
idpEntityId ?: string ;
19
21
idpSsoUrl ?: string ;
@@ -31,7 +33,9 @@ type CreateSamlConnectionParams = {
31
33
type UpdateSamlConnectionParams = {
32
34
name ?: string ;
33
35
provider ?: SamlIdpSlug ;
36
+ /** @deprecated Use `domains` array instead. This field will be removed in a future API version.. */
34
37
domain ?: string ;
38
+ domains ?: string [ ] ;
35
39
organizationId ?: string ;
36
40
idpEntityId ?: string ;
37
41
idpSsoUrl ?: string ;
Original file line number Diff line number Diff line change @@ -631,6 +631,7 @@ export interface SamlConnectionJSON extends ClerkResourceJSON {
631
631
object : typeof ObjectType . SamlConnection ;
632
632
name : string ;
633
633
domain : string ;
634
+ domains : string [ ] ;
634
635
organization_id : string | null ;
635
636
idp_entity_id : string ;
636
637
idp_sso_url : string ;
@@ -688,6 +689,7 @@ export interface SamlAccountConnectionJSON extends ClerkResourceJSON {
688
689
id : string ;
689
690
name : string ;
690
691
domain : string ;
692
+ domains : string [ ] ;
691
693
active : boolean ;
692
694
provider : string ;
693
695
sync_user_attributes : boolean ;
Original file line number Diff line number Diff line change @@ -14,9 +14,13 @@ export class SamlConnection {
14
14
*/
15
15
readonly name : string ,
16
16
/**
17
- * The domain of your organization. Sign in flows using an email with this domain will use the connection.
17
+ * @deprecated The domain of your organization. Sign in flows using an email with this domain will use the connection.
18
18
*/
19
19
readonly domain : string ,
20
+ /**
21
+ * The domains of your organization. Sign in flows using an email with one of these domains will use the connection.
22
+ */
23
+ readonly domains : string [ ] ,
20
24
/**
21
25
* The organization ID of the organization.
22
26
*/
@@ -95,6 +99,7 @@ export class SamlConnection {
95
99
data . id ,
96
100
data . name ,
97
101
data . domain ,
102
+ data . domains ,
98
103
data . organization_id ,
99
104
data . idp_entity_id ,
100
105
data . idp_sso_url ,
@@ -121,7 +126,11 @@ export class SamlAccountConnection {
121
126
constructor (
122
127
readonly id : string ,
123
128
readonly name : string ,
129
+ /**
130
+ * @deprecated Use `domains` array instead. This field will be removed in a future version.
131
+ */
124
132
readonly domain : string ,
133
+ readonly domains : string [ ] ,
125
134
readonly active : boolean ,
126
135
readonly provider : string ,
127
136
readonly syncUserAttributes : boolean ,
@@ -135,6 +144,7 @@ export class SamlAccountConnection {
135
144
data . id ,
136
145
data . name ,
137
146
data . domain ,
147
+ data . domains ,
138
148
data . active ,
139
149
data . provider ,
140
150
data . sync_user_attributes ,
You can’t perform that action at this time.
0 commit comments