mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 06:43:35 +00:00
Pass in apiKey login callback (#361)
* Pass in apiKey login callback * Update jslib
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: c70c8ecc24...1f0127966e
@@ -120,7 +120,8 @@ export class Main {
|
|||||||
this.apiService = new NodeApiService(this.tokenService, this.platformUtilsService, this.environmentService,
|
this.apiService = new NodeApiService(this.tokenService, this.platformUtilsService, this.environmentService,
|
||||||
async (expired: boolean) => await this.logout(),
|
async (expired: boolean) => await this.logout(),
|
||||||
'Bitwarden_CLI/' + this.platformUtilsService.getApplicationVersion() +
|
'Bitwarden_CLI/' + this.platformUtilsService.getApplicationVersion() +
|
||||||
' (' + this.platformUtilsService.getDeviceString().toUpperCase() + ')');
|
' (' + this.platformUtilsService.getDeviceString().toUpperCase() + ')', (clientId, clientSecret) =>
|
||||||
|
this.authService.logInApiKey(clientId, clientSecret));
|
||||||
this.userService = new UserService(this.tokenService, this.storageService);
|
this.userService = new UserService(this.tokenService, this.storageService);
|
||||||
this.containerService = new ContainerService(this.cryptoService);
|
this.containerService = new ContainerService(this.cryptoService);
|
||||||
this.settingsService = new SettingsService(this.userService, this.storageService);
|
this.settingsService = new SettingsService(this.userService, this.storageService);
|
||||||
|
|||||||
Reference in New Issue
Block a user