@euirim/microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
13 lines (12 loc) • 400 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);
readonly headerName: string;
readonly token: string;
}