public interface RevocationRegistry
A RevocationRegistry is used to store the ids of revoked (canceled) security tokens.
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRevoked(String tokenType,
String id)
Indicates whether the token with the specified id has been revoked or not.
|
void |
revokeToken(String tokenType,
String id)
Adds the specified id to the revocation registry.
|
boolean isRevoked(String tokenType, String id)
Indicates whether the token with the specified id has been revoked or not.
tokenType - a String representing the token type.id - a String representing the token id.true if the specified id has been revoked; false otherwise.void revokeToken(String tokenType, String id)
Adds the specified id to the revocation registry. The security token type can be used to distinguish tokens that may have the same id but that are of different types.
tokenType - a String representing the security token type.id - the id to registered.Copyright © 2018 JBoss by Red Hat. All rights reserved.