CustomAWSCredentials class

Custom AWS credentials implementation for liveness detection

Constructors

CustomAWSCredentials.new({required String accessKeyId, required String secretAccessKey, required String? sessionToken, required DateTime expiration})
const
CustomAWSCredentials.fromCredentials(Credentials credentials)
factory

Properties

accessKeyId String
AWS Access Key ID
final
expiration DateTime
The time the credentials will expire
final
hashCode int
The hash code for this object.
no setterinherited
isExpired bool
Check if credentials are expired or will expire soon (within 5 minutes)
no setter
isValid bool
Check if credentials are valid (non-empty and not expired)
no setter
props List<Object?>
The type's equatable properties.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secretAccessKey String
AWS Secret Access Key
final
sessionToken String?
AWS Session Token
final
timeUntilExpiration Duration
Time remaining until expiration
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this as a JSON object.
toPlatformChannelArgs() Map<String, dynamic>
Convert to platform channel format for iOS
toString() String
A string representation of this object.
inherited

Operators

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