Class Grant

java.lang.Object
com.auth0.json.mgmt.Grant

public class Grant extends Object
Class that represents an Auth0 Grant object. Related to the GrantsEntity entity.
  • Constructor Details

    • Grant

      public Grant()
  • Method Details

    • getId

      public String getId()
      Getter for the id of the grant.
      Returns:
      the id.
    • getClientId

      public String getClientId()
      Getter for the client id of the application.
      Returns:
      the application's client id.
    • setClientId

      public void setClientId(String clientId)
      Setter for the application's client id.
      Parameters:
      clientId - the application's client id to set.
    • getUserId

      public String getUserId()
      Getter for the user id.
      Returns:
      the user id.
    • setUserId

      public void setUserId(String userId)
      Setter for the user id.
      Parameters:
      userId - the user id to set.
    • getAudience

      public String getAudience()
      Getter for the audience.
      Returns:
      the audience.
    • setAudience

      public void setAudience(String audience)
      Setter for the audience.
      Parameters:
      audience - the audience to set.
    • getScope

      public List<String> getScope()
      Getter for the scope.
      Returns:
      the scope.
    • setScope

      public void setScope(List<String> scope)
      Setter for the scope.
      Parameters:
      scope - the scope to set.