@infosel-sdk/core
Version:
Core SDK for Infosel financial services platform. Provides essential infrastructure for authentication, HTTP/GraphQL communication, storage management, and error handling.
32 lines (31 loc) • 844 B
TypeScript
import { AuthConfiguration, ValidationResult } from './auth_configuration';
export declare class ConfigurationValidator {
/**
* Validates an AuthConfiguration and returns validation result
*/
validate(config: AuthConfiguration): ValidationResult;
/**
* Validates required fields are present
*/
private validateRequiredFields;
/**
* Validates realm format and content
*/
private validateRealm;
/**
* Validates environment value
*/
private validateEnvironment;
/**
* Validates auth type specific fields
*/
private validateAuthTypeSpecificFields;
/**
* Validates KeyCloak specific configuration
*/
private validateKeyClockConfig;
/**
* Validates token-based authentication configuration
*/
private validateTokenConfig;
}