import { JsonWebKeySet } from '../types'; import { JwksCache } from './jwksCache'; /** * Service for fetching and caching JSON Web Key Sets from Azure AD */ export declare class JwksService { private readonly httpClient; private readonly cache; private readonly fetchLock; constructor(cache?: JwksCache); /** * Gets JWKS from the specified URI with caching * @param jwksUri JWKS URI from OpenID configuration * @returns JSON Web Key Set */ getJwksAsync(jwksUri: string): Promise; /** * Gets JWKS for a specific Azure AD tenant * @param tenantId Azure AD tenant ID * @returns JSON Web Key Set */ getJwksForTenantAsync(tenantId: string): Promise; /** * Fetches JWKS from the specified URI * @param uri JWKS URI * @returns JSON Web Key Set */ private fetchJwks; /** * Clears the JWKS cache */ clearCache(): void; /** * Gets the number of cached JWKS */ get cacheCount(): number; } //# sourceMappingURL=jwksService.d.ts.map