@datenkraft/bb-base-api-ts-client
Version:
The Base API TS Client package enables you to work with other Backbone TS Client packages.
27 lines (26 loc) • 824 B
TypeScript
export type ConfigOptions = {
clientId?: string;
clientSecret?: string;
oAuthTokenHost?: string;
authenticationApiUrl?: string;
tokenTradeInPath?: string;
externalIdToken?: string;
useExternalIdToken?: boolean;
authToken?: string;
useAuthToken?: boolean;
};
export declare class Config {
private readonly _configOptions;
constructor(configOptions: ConfigOptions);
get configOptions(): ConfigOptions;
get clientId(): string | undefined;
get clientSecret(): string | undefined;
get oAuthTokenHost(): string;
get authenticationApiUrl(): string;
get tokenTradeInPath(): string;
get externalIdToken(): string | undefined;
get useExternalIdToken(): boolean;
get authToken(): string | undefined;
get useAuthToken(): boolean;
verify(): void;
}