microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
12 lines (11 loc) • 349 B
TypeScript
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;
}