UNPKG

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

Version:

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

21 lines (20 loc) 694 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<{}>[]