ApiKey class

A class representing an API key for a User. It can be used to represent the user when logging in instead of their regular credentials. These keys are created or fetched through User.apiKeys.

Properties

hashCode int
The hash code for this object.
no setteroverride
id ObjectId
The unique identifier for this ApiKey.
final
isEnabled bool
A value indicating whether the ApiKey is enabled. If this is false, then the ApiKey cannot be used to authenticate the user.
final
name String
The name of this ApiKey.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String?
The value of this ApiKey. This is only returned when the ApiKey is created via ApiKeyClient.create. In all other cases, it'll be null.
final

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.
override