EphemeralCredentialToken class
Ephemeral Credential Injection Handle that guarantees scoped exposure and automatic scrubbing.
Constructors
- EphemeralCredentialToken({required String key, required String rawSecret, required CredentialScope scope, Duration ttl = const Duration(minutes: 5)})
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
withSecret<
R> (R callback(String rawSecret)) → R - Retrieves the raw secret strictly within an isolated, bounded execution closure.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited