UNPKG

@theoptimalpartner/jwt-auth-validator

Version:

JWT token validation package with offline JWKS validation and Redis-based token revocation support

28 lines 1.3 kB
export { JWTValidator } from './jwt-validator.js'; export { JWKSService } from './jwks-service.js'; export { RedisService } from './redis-service.js'; export { TokenBlacklistService } from './token-blacklist-service.js'; export { ApiKeyValidator } from './api-key-validator.js'; export { UserDataService } from './user-data-service.js'; export { SSMService } from './ssm-service.js'; export * from './types.js'; export * from './cognito-utils.js'; export * from './error-utils.js'; import { JWTValidator } from './jwt-validator.js'; export declare function createCognitoValidatorAsync(region: string, userPoolId: string, clientId?: string, clientSecret?: string, redisConfig?: { host?: string; port?: number; password?: string; tls?: boolean; caCertPath?: string; caCertName?: string; }, enableApiKeyValidation?: boolean, enableUserDataRetrieval?: boolean): Promise<JWTValidator>; export declare function createCognitoValidator(region: string, userPoolId: string, clientId?: string, clientSecret?: string, redisConfig?: { host?: string; port?: number; password?: string; tls?: boolean; caCertPath?: string; caCertName?: string; }, enableApiKeyValidation?: boolean, enableUserDataRetrieval?: boolean): JWTValidator; //# sourceMappingURL=index.d.ts.map