Package step.core.access.authentication
Class ApiTokenAccessor
- java.lang.Object
-
- step.core.accessors.CachedAccessor<ApiToken>
-
- step.core.access.authentication.ApiTokenAccessor
-
-
Constructor Summary
Constructors Constructor Description ApiTokenAccessor(step.core.collections.Collection<ApiToken> collectionDriver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteApiTokensOfUser(java.lang.String username)
java.util.List<ApiToken>
getApiTokensByUser(java.lang.String user)
ApiToken
selectApiTokenByUsername(java.lang.String user, java.lang.String token)
-
Methods inherited from class step.core.accessors.CachedAccessor
enableVersioning, findByAttributes, findByAttributes, findByCriteria, findManyByAttributes, findManyByAttributes, findManyByCriteria, get, get, getAll, getCollectionDriver, getHistory, getRange, isVersioningEnabled, reloadCache, remove, restoreVersion, save, save, stream, streamLazy
-
-
-
-
Constructor Detail
-
ApiTokenAccessor
public ApiTokenAccessor(step.core.collections.Collection<ApiToken> collectionDriver)
-
-
Method Detail
-
getApiTokensByUser
public java.util.List<ApiToken> getApiTokensByUser(java.lang.String user)
-
selectApiTokenByUsername
public ApiToken selectApiTokenByUsername(java.lang.String user, java.lang.String token)
-
deleteApiTokensOfUser
public void deleteApiTokensOfUser(java.lang.String username)
-
-