Uses of Record Class
com.svenruppert.jsentinel.authentication.ApiKeyRecord
Packages that use ApiKeyRecord
-
Uses of ApiKeyRecord in com.svenruppert.jsentinel.authentication
Methods in com.svenruppert.jsentinel.authentication that return ApiKeyRecordModifier and TypeMethodDescriptionApiKeyRecord.withLastUsedAt(Instant at) Returns a copy withApiKeyRecord.lastUsedAt()set toat.ApiKeyRecord.withRevokedAt(Instant at) Returns a copy withApiKeyRecord.revokedAt()set toat.Methods in com.svenruppert.jsentinel.authentication that return types with arguments of type ApiKeyRecordModifier and TypeMethodDescriptionApiKeyAuthenticationService.authenticate(String plainKey) Authenticates the supplied plain key.ApiKeyStore.findByHash(String keyHash) Looks up an API-key record by its hash.InMemoryApiKeyStore.findByHash(String keyHash) ApiKeyStore.listBySubject(TenantId tenant, SubjectId subjectId) Returns every record (active, revoked, or expired) belonging tosubjectIdwithintenant, in insertion order (oldest first).InMemoryApiKeyStore.listBySubject(TenantId tenant, SubjectId subjectId) Methods in com.svenruppert.jsentinel.authentication with parameters of type ApiKeyRecordModifier and TypeMethodDescriptionvoidApiKeyStore.save(ApiKeyRecord record) Persists or replaces the supplied record.voidInMemoryApiKeyStore.save(ApiKeyRecord record)