Class Token

java.lang.Object
com.auth0.json.mgmt.blacklists.Token

public class Token extends Object
Class that represents an Auth0 Blacklisted Token object. Related to the BlacklistsEntity entity.
  • Constructor Details

    • Token

      public Token(String jti)
  • Method Details

    • getAud

      public String getAud()
      Getter for the JWT's aud claim. This is the client id of the application for which this token was issued.
      Returns:
      the audience.
    • setAud

      public void setAud(String aud)
      Setter for the JWT's aud claim. This is the client id of the application for which this token was issued.
      Parameters:
      aud - the audience to blacklist.
    • getJTI

      public String getJTI()
      Getter for the JWT's jti claim.
      Returns:
      the audience.
    • setJTI

      public void setJTI(String jti)
      Setter for the JWT's jti to blacklist.
      Parameters:
      jti - the jwt identifier to blacklist.