1
0
mirror of https://github.com/bitwarden/web synced 2025-12-06 00:03:28 +00:00

Changed methods to be protected

This commit is contained in:
Hinton
2022-01-11 20:16:06 +01:00
parent 91eb60ebef
commit 2a4f6415d6
2 changed files with 6 additions and 3 deletions

2
jslib

Submodule jslib updated: 54f407d0de...462a4d7c56

View File

@@ -40,7 +40,7 @@ export class KeyConnectorService extends BaseKeyConnectorService {
);
}
async getUserKeyFromKeyConnector(url: string): Promise<KeyConnectorUserKeyResponse> {
protected async getUserKeyFromKeyConnector(url: string): Promise<KeyConnectorUserKeyResponse> {
if (this.platformUtilsService.isSelfHost()) {
return super.getUserKeyFromKeyConnector(url);
}
@@ -51,7 +51,10 @@ export class KeyConnectorService extends BaseKeyConnectorService {
return frame.promise.then((key: string) => new KeyConnectorUserKeyResponse({ Key: key }));
}
async postUserKeyToKeyConnector(url: string, request: KeyConnectorUserKeyRequest): Promise<void> {
protected async postUserKeyToKeyConnector(
url: string,
request: KeyConnectorUserKeyRequest
): Promise<void> {
if (this.platformUtilsService.isSelfHost()) {
return super.postUserKeyToKeyConnector(url, request);
}