public final class ApiKeyItem
extends Object
Represents an API key belonging to the authenticated user.
- Since:
- 0.1.0
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
getId
@NotNull
public @NotNull String getId()
-
getName
@NotNull
public @NotNull String getName()
-
getScope
@Nullable
public @Nullable String getScope()
-
getKeyPrefix
@NotNull
public @NotNull String getKeyPrefix()
-
getLastUsedAt
@Nullable
public @Nullable Long getLastUsedAt()
-
getExpiresAt
@Nullable
public @Nullable Long getExpiresAt()
-
getCreatedAt
public long getCreatedAt()