import { OpenIdConfigurationService } from '../services/openIdConfigurationService'; import { JwksService } from '../services/jwksService'; import { TokenValidationResult } from '../types'; export interface AzureAdValidationOptions { tenantId: string; audience: string; validateLifetime?: boolean; clockSkew?: number; } /** * Validator for Azure AD JWT tokens */ export declare class AzureAdValidator { private readonly configService; private readonly jwksService; constructor(configService?: OpenIdConfigurationService, jwksService?: JwksService); /** * Validates an Azure AD JWT token * @param token JWT token to validate * @param options Validation options * @returns Validation result with claims or error */ validateTokenAsync(token: string, options: AzureAdValidationOptions): Promise; /** * Gets valid issuers for Azure AD tokens * @param tenantId Azure AD tenant ID * @returns Array of valid issuer URLs */ private getValidIssuers; /** * Clears all caches */ clearCache(): void; } //# sourceMappingURL=azureAdValidator.d.ts.map