UNPKG

@euirim/microsoft-cognitiveservices-speech-sdk

Version:
13 lines (12 loc) 400 B
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; }