ApiKeyValidationService class

API Key Validation Service following the backend specification Implements the standardized API key validation system for all Onairos SDKs

NOTE: Admin keys and sensitive endpoints are handled in native compiled code. This Dart layer delegates to OnairosCore (AAR/XCFramework) for security.

Constructors

ApiKeyValidationService()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

detectEnvironment() String
Detect environment automatically
initializeApiKey({required String apiKey, String environment = 'production', bool enableLogging = false, int timeout = 30000, int retryAttempts = 3, String? baseUrl, bool offlineMode = false}) Future<ApiKeyValidationResult>
Initialize API key with validation according to backend specification
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited