{"version":3,"sources":["src/common.speech/IAuthentication.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,eAAe;IAC5B,KAAK,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;IACnD,aAAa,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;CAC9D;AAED,qBAAa,QAAQ;IACjB,OAAO,CAAC,cAAc,CAAS;IAC/B,OAAO,CAAC,SAAS,CAAS;gBAEP,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAKpD,IAAW,UAAU,IAAI,MAAM,CAE9B;IAED,IAAW,KAAK,IAAI,MAAM,CAEzB;CACJ","file":"IAuthentication.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n\nexport interface IAuthentication {\n    fetch(authFetchEventId: string): Promise<AuthInfo>;\n    fetchOnExpiry(authFetchEventId: string): Promise<AuthInfo>;\n}\n\nexport class AuthInfo {\n    private privHeaderName: string;\n    private privToken: string;\n\n    public constructor(headerName: string, token: string) {\n        this.privHeaderName = headerName;\n        this.privToken = token;\n    }\n\n    public get headerName(): string {\n        return this.privHeaderName;\n    }\n\n    public get token(): string {\n        return this.privToken;\n    }\n}\n"]}