UNPKG

@sphereon/ssi-sdk-ext.kms-azure-rest-client

Version:

Sphereon SSI-SDK plugin for Azure KeyVault Key Management System.

18 lines (17 loc) 732 B
import { RequestContext, HttpMethod } from "./http/http"; export interface BaseServerConfiguration { makeRequestContext(endpoint: string, httpMethod: HttpMethod): RequestContext; } export declare class ServerConfiguration<T extends { [key: string]: string; }> implements BaseServerConfiguration { private url; private variableConfiguration; constructor(url: string, variableConfiguration: T); setVariables(variableConfiguration: Partial<T>): void; getConfiguration(): T; private getUrl; makeRequestContext(endpoint: string, httpMethod: HttpMethod): RequestContext; } export declare const server1: ServerConfiguration<{}>; export declare const servers: ServerConfiguration<{}>[];