Package org.graylog2.security
Interface AccessTokenService
- All Superinterfaces:
PersistedService
- All Known Implementing Classes:
AccessTokenServiceImpl
- Author:
- Dennis Oelkers <[email protected]>
-
Method Summary
Modifier and TypeMethodDescriptionint
deleteAllForUser
(String username) save
(AccessToken accessToken) void
setLastAccessCache
(long duration, TimeUnit unit) org.joda.time.DateTime
touch
(AccessToken accessToken) Methods inherited from interface org.graylog2.plugin.database.PersistedService
destroy, destroyAll, save, saveWithoutValidation, validate, validate, validate
-
Method Details
-
load
-
loadById
-
loadAll
-
create
-
touch
- Throws:
ValidationException
-
save
- Throws:
ValidationException
-
deleteAllForUser
-
setLastAccessCache
-