ApiKeyManager class
APIKeyManager class
Constructors
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
-
generateApiKey(
{DateTime? expiresAt}) → ApiKey - Generates an API key using a UUID v4
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
revokeApiKey(
String key) → void - Revokes an API Key
-
toString(
) → String -
A string representation of this object.
inherited
-
validateApiKey(
String key) → bool - Validates an API key
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited