File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
src/vs/workbench/contrib/authentication/browser Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -117,10 +117,7 @@ class AuthenticationContribution extends Disposable implements IWorkbenchContrib
117
117
} ,
118
118
} ) ;
119
119
120
- constructor (
121
- @IAuthenticationService private readonly _authenticationService : IAuthenticationService ,
122
- @IBrowserWorkbenchEnvironmentService private readonly _environmentService : IBrowserWorkbenchEnvironmentService
123
- ) {
120
+ constructor ( @IAuthenticationService private readonly _authenticationService : IAuthenticationService ) {
124
121
super ( ) ;
125
122
this . _register ( codeExchangeProxyCommand ) ;
126
123
this . _register ( extensionFeature ) ;
@@ -131,7 +128,6 @@ class AuthenticationContribution extends Disposable implements IWorkbenchContrib
131
128
}
132
129
this . _registerHandlers ( ) ;
133
130
this . _registerAuthenticationExtentionPointHandler ( ) ;
134
- this . _registerEnvContributedAuthenticationProviders ( ) ;
135
131
this . _registerActions ( ) ;
136
132
}
137
133
@@ -167,15 +163,6 @@ class AuthenticationContribution extends Disposable implements IWorkbenchContrib
167
163
} ) ;
168
164
}
169
165
170
- private _registerEnvContributedAuthenticationProviders ( ) : void {
171
- if ( ! this . _environmentService . options ?. authenticationProviders ?. length ) {
172
- return ;
173
- }
174
- for ( const provider of this . _environmentService . options . authenticationProviders ) {
175
- this . _authenticationService . registerAuthenticationProvider ( provider . id , provider ) ;
176
- }
177
- }
178
-
179
166
private _registerHandlers ( ) : void {
180
167
this . _register ( this . _authenticationService . onDidRegisterAuthenticationProvider ( _e => {
181
168
this . _clearPlaceholderMenuItem ( ) ;
You can’t perform that action at this time.
0 commit comments