/** * Client Info Handler * * Extracts client information (IP, user agent, device info) from NAuthRequest * and stores in AsyncLocalStorage context. * * **Platform-Agnostic:** * This handler operates purely on NAuthRequest interface. * Context initialization is handled by the adapter, not this handler. */ import { ClientInfoService, NAuthConfig, NAuthLogger } from '../index'; import { GeoLocationService } from '../internal'; import { NAuthRequest, NAuthResponse } from '../platform/interfaces'; /** * ClientInfoHandler * * First handler in the chain. Extracts client information and stores it * in the context for downstream handlers and services. */ export declare class ClientInfoHandler { private clientInfoService; private config?; private geoLocationService?; private logger?; constructor(clientInfoService: ClientInfoService, config?: NAuthConfig | undefined, geoLocationService?: GeoLocationService | undefined, logger?: NAuthLogger | undefined); /** * Handle request - extract and store client info * * Context initialization is handled by the adapter. * This handler assumes context is already available. */ handle(req: NAuthRequest, res: NAuthResponse, next: () => Promise | void): Promise; /** * Extract client information and store in context */ private extractAndStore; } //# sourceMappingURL=client-info.handler.d.ts.map