v1ApiKey class
Constructors
- v1ApiKey({required externaldatav1Credential credential, required String apiKeyId, required String apiKeyName, required externaldatav1Timestamp createdAt, required externaldatav1Timestamp updatedAt, String? expirationSeconds})
-
const
-
v1ApiKey.fromJson(Map<
String, dynamic> json) -
factory
Properties
- apiKeyId → String
-
Unique identifier for a given API Key.
final
- apiKeyName → String
-
Human-readable name for an API Key.
final
- createdAt → externaldatav1Timestamp
-
final
- credential → externaldatav1Credential
-
A User credential that can be used to authenticate to Turnkey.
final
- expirationSeconds → String?
-
Optional window (in seconds) indicating how long the API Key should last.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updatedAt → externaldatav1Timestamp
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited