Class TokenBlacklistRequest
java.lang.Object
com.broadleafcommerce.auth.authorization.security.tokenblacklist.support.TokenBlacklistRequest
Input details for
TokenBlacklistManager.blacklist(TokenBlacklistRequest)- Since:
- AuthenticationServices 3.0.0, Release Train 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe unique identifier of the token being checked.The token type.getTtl()How long the blacklist entry for this token should stay in the backing blacklist provider before it is considered safe to purge.inthashCode()voidsetTokenId(String tokenId) The unique identifier of the token being checked.voidsetTokenType(String tokenType) The token type.voidHow long the blacklist entry for this token should stay in the backing blacklist provider before it is considered safe to purge.toString()
-
Constructor Details
-
TokenBlacklistRequest
public TokenBlacklistRequest()
-
-
Method Details
-
getTokenId
The unique identifier of the token being checked. For example, for session tokens, this is the value ofSessionTokenClaimKeys.SESSION_ID. -
getTtl
How long the blacklist entry for this token should stay in the backing blacklist provider before it is considered safe to purge. -
getTokenType
The token type.- See Also:
-
setTokenId
The unique identifier of the token being checked. For example, for session tokens, this is the value ofSessionTokenClaimKeys.SESSION_ID. -
setTtl
How long the blacklist entry for this token should stay in the backing blacklist provider before it is considered safe to purge. -
setTokenType
The token type.- See Also:
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-