Files
flipper/desktop/flipper-server-core/src/fb-stubs/WWWCertificateProvider.tsx
Andrey Goncharov c238cef5b0 Verify certificate provider medium
Reviewed By: antonk52

Differential Revision: D33917041

fbshipit-source-id: 91a9554397063d53a903a5b1406b46ddf07360b2
2022-02-02 03:07:00 -08:00

32 lines
925 B
TypeScript

/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
import {KeytarManager} from '../utils/keytar';
import CertificateProvider from '../utils/CertificateProvider';
export default class WWWCertificateProvider extends CertificateProvider {
name = 'WWWCertificateProvider';
medium = 'WWW' as const;
constructor(private keytarManager: KeytarManager) {
super();
}
async processCertificateSigningRequest(): Promise<{deviceId: string}> {
throw new Error('WWWCertificateProvider is not implemented');
}
async getTargetDeviceId(): Promise<string> {
throw new Error('WWWCertificateProvider is not implemented');
}
protected async deployOrStageFileForDevice(): Promise<void> {
throw new Error('WWWCertificateProvider is not implemented');
}
}