@@ -53,7 +53,6 @@ export class MainThreadAuthenticationProvider extends Disposable implements IAut
53
53
public readonly label : string ,
54
54
public readonly supportsMultipleAccounts : boolean ,
55
55
public readonly authorizationServers : ReadonlyArray < URI > ,
56
- private readonly notificationService : INotificationService ,
57
56
onDidChangeSessionsEmitter : Emitter < AuthenticationSessionsChangeEvent > ,
58
57
) {
59
58
super ( ) ;
@@ -70,7 +69,6 @@ export class MainThreadAuthenticationProvider extends Disposable implements IAut
70
69
71
70
async removeSession ( sessionId : string ) : Promise < void > {
72
71
await this . _proxy . $removeSession ( this . id , sessionId ) ;
73
- this . notificationService . info ( nls . localize ( 'signedOut' , "Successfully signed out." ) ) ;
74
72
}
75
73
}
76
74
@@ -153,7 +151,7 @@ export class MainThreadAuthentication extends Disposable implements MainThreadAu
153
151
const emitter = new Emitter < AuthenticationSessionsChangeEvent > ( ) ;
154
152
this . _registrations . set ( id , emitter ) ;
155
153
const supportedAuthorizationServerUris = supportedAuthorizationServer . map ( i => URI . revive ( i ) ) ;
156
- const provider = new MainThreadAuthenticationProvider ( this . _proxy , id , label , supportsMultipleAccounts , supportedAuthorizationServerUris , this . notificationService , emitter ) ;
154
+ const provider = new MainThreadAuthenticationProvider ( this . _proxy , id , label , supportsMultipleAccounts , supportedAuthorizationServerUris , emitter ) ;
157
155
this . authenticationService . registerAuthenticationProvider ( id , provider ) ;
158
156
}
159
157
0 commit comments