java.lang.Object
com.broadleafcommerce.auth.authorization.security.tokenblacklist.support.TokenBlacklistRequest

public class TokenBlacklistRequest extends Object
Since:
AuthenticationServices 3.0.0, Release Train 3.0.0
  • Constructor Details

    • TokenBlacklistRequest

      public TokenBlacklistRequest()
  • Method Details

    • getTokenId

      public String getTokenId()
      The unique identifier of the token being checked. For example, for session tokens, this is the value of SessionTokenClaimKeys.SESSION_ID.
    • getTtl

      public Duration getTtl()
      How long the blacklist entry for this token should stay in the backing blacklist provider before it is considered safe to purge.
    • getTokenType

      public String getTokenType()
      The token type.
      See Also:
    • setTokenId

      public void setTokenId(String tokenId)
      The unique identifier of the token being checked. For example, for session tokens, this is the value of SessionTokenClaimKeys.SESSION_ID.
    • setTtl

      public void setTtl(Duration ttl)
      How long the blacklist entry for this token should stay in the backing blacklist provider before it is considered safe to purge.
    • setTokenType

      public void setTokenType(String tokenType)
      The token type.
      See Also:
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object