File tree Expand file tree Collapse file tree 3 files changed +6
-19
lines changed
clerk-js/src/core/resources Expand file tree Collapse file tree 3 files changed +6
-19
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @clerk/clerk-js ' : major
3+ ' @clerk/shared ' : major
4+ ---
5+
6+ Remove deprecated ` saml ` property from ` UserSettings ` in favor of ` enterpriseSSO `
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import type {
66 PasskeySettingsData ,
77 PasswordSettingsData ,
88 PhoneCodeChannel ,
9- SamlSettings ,
109 SignInData ,
1110 SignUpData ,
1211 UsernameSettingsData ,
@@ -112,9 +111,6 @@ export class UserSettings extends BaseResource implements UserSettingsResource {
112111 show_sign_in_button : false ,
113112 } ;
114113 passwordSettings : PasswordSettingsData = { } as PasswordSettingsData ;
115- saml : SamlSettings = {
116- enabled : false ,
117- } ;
118114 signIn : SignInData = {
119115 second_factor : {
120116 required : false ,
@@ -229,7 +225,6 @@ export class UserSettings extends BaseResource implements UserSettingsResource {
229225 : Math . min ( data . password_settings ?. max_length ?? defaultMaxPasswordLength , defaultMaxPasswordLength ) ,
230226 }
231227 : this . passwordSettings ;
232- this . saml = this . withDefault ( data . saml , this . saml ) ;
233228 this . signIn = this . withDefault ( data . sign_in , this . signIn ) ;
234229 this . signUp = this . withDefault ( data . sign_up , this . signUp ) ;
235230 this . social = this . withDefault ( data . social , this . social ) ;
@@ -256,7 +251,6 @@ export class UserSettings extends BaseResource implements UserSettingsResource {
256251 attributes : this . attributes ,
257252 passkey_settings : this . passkeySettings ,
258253 password_settings : this . passwordSettings ,
259- saml : this . saml ,
260254 sign_in : this . signIn ,
261255 sign_up : this . signUp ,
262256 social : this . social ,
Original file line number Diff line number Diff line change @@ -86,11 +86,6 @@ export type PasskeySettingsData = {
8686export type OAuthProviders = {
8787 [ provider in OAuthStrategy ] : OAuthProviderSettings ;
8888} ;
89-
90- export type SamlSettings = {
91- enabled : boolean ;
92- } ;
93-
9489export type EnterpriseSSOSettings = {
9590 enabled : boolean ;
9691} ;
@@ -115,10 +110,6 @@ export interface UserSettingsJSON extends ClerkResourceJSON {
115110 actions : Actions ;
116111 social : OAuthProviders ;
117112
118- /**
119- * @deprecated Use `enterprise_sso` instead.
120- */
121- saml : SamlSettings ;
122113 enterprise_sso : EnterpriseSSOSettings ;
123114
124115 sign_in : SignInData ;
@@ -132,10 +123,6 @@ export interface UserSettingsResource extends ClerkResource {
132123 id ?: undefined ;
133124 social : OAuthProviders ;
134125
135- /**
136- * @deprecated Use `enterprise_sso` instead.
137- */
138- saml : SamlSettings ;
139126 enterpriseSSO : EnterpriseSSOSettings ;
140127
141128 attributes : Attributes ;
You can’t perform that action at this time.
0 commit comments