@voice-ping/cognitive-services-speech
Version:
VoicePing Cognitive Services Speech SDK for JavaScript forked from Microsoft
13 lines (12 loc) • 394 B
TypeScript
import { Promise } from "../common/Exports";
export interface IAuthentication {
fetch(authFetchEventId: string): Promise<AuthInfo>;
fetchOnExpiry(authFetchEventId: string): Promise<AuthInfo>;
}
export declare class AuthInfo {
private privHeaderName;
private privToken;
constructor(headerName: string, token: string);
get headerName(): string;
get token(): string;
}