/** * Copyright(c) Microsoft Corporation.All rights reserved. * Licensed under the MIT License. */ declare module 'jsonwebtoken' { type signingKeyResolver = (headers: jwks.Headers, cb: (err: Error, signingKey: string) => void) => void; function verify(token: string, secretOrPublicKey: signingKeyResolver, callback?: VerifyCallback): void; } import * as jwks from 'jwks-rsa'; import { IAuthenticationProvider } from './authenticationProvider'; export declare class MsJWTAuthenticationProvider implements IAuthenticationProvider { private readonly openIdMetadataUrl; private readonly jwtIssuer; private readonly httpClient; private readonly appId; constructor(appId: string); authenticate(authHeader: string): Promise; }