ApiKeyValidationResult class

API Key validation result following the backend specification

Constructors

ApiKeyValidationResult({required bool isValid, List<String>? permissions, RateLimits? rateLimits, required String keyType, String? error, String? message, String? code, DeveloperInfo? developer, ApiKeyInfo? apiKey})
const
ApiKeyValidationResult.fromJson(Map<String, dynamic> json)
factory

Properties

apiKey ApiKeyInfo?
final
code String?
final
developer DeveloperInfo?
final
error String?
final
hashCode int
The hash code for this object.
no setterinherited
isValid bool
final
keyType String
final
message String?
final
permissions List<String>?
final
rateLimits RateLimits?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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