UNPKG

@euirim/microsoft-cognitiveservices-speech-sdk

Version:
10 lines (9 loc) 536 B
import { Promise } from "../common/Exports"; import { AuthInfo, IAuthentication } from "./IAuthentication"; export declare class CognitiveTokenAuthentication implements IAuthentication { private privFetchCallback; private privFetchOnExpiryCallback; constructor(fetchCallback: (authFetchEventId: string) => Promise<string>, fetchOnExpiryCallback: (authFetchEventId: string) => Promise<string>); fetch: (authFetchEventId: string) => Promise<AuthInfo>; fetchOnExpiry: (authFetchEventId: string) => Promise<AuthInfo>; }