mirror of
https://github.com/bitwarden/cli
synced 2025-12-06 04:23:19 +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,
|
||||
async (expired: boolean) => await this.logout(),
|
||||
'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.containerService = new ContainerService(this.cryptoService);
|
||||
this.settingsService = new SettingsService(this.userService, this.storageService);
|
||||
|
||||
Reference in New Issue
Block a user