Pass in apiKey login callback (#361)
* Pass in apiKey login callback * Update jslib
This commit is contained in:
parent
a1738c57dd
commit
49b6b717c1
2
jslib
2
jslib
|
@ -1 +1 @@
|
|||
Subproject commit c70c8ecc247cb92e1f867630031fd5cdf124bcd3
|
||||
Subproject commit 1f0127966e85aa29f9e50144de9b2a03b00de5d4
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue