public interface TokenRevocationStoreProvider extends Provider
CodeToTokenStoreProvider
,
SingleUseTokenStoreProvider
and ActionTokenStoreProvider
Modifier and Type | Method and Description |
---|---|
boolean |
isRevoked(String tokenId) |
void |
putRevokedToken(String tokenId,
long lifespanSeconds)
Mark given token as revoked.
|
void putRevokedToken(String tokenId, long lifespanSeconds)
isRevoked(java.lang.String)
method will return false. In reality, the token will usually still be invalid due the "expiration" claim on it, however
that is out of scope of this provider.tokenId
- boolean isRevoked(String tokenId)
tokenId
- Copyright © 2021 JBoss by Red Hat. All rights reserved.