Class ClientGrant

java.lang.Object
com.auth0.json.mgmt.clientgrants.ClientGrant

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

    • ClientGrant

      public ClientGrant()
  • Method Details

    • getId

      public String getId()
      Getter for the id of the client 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.
    • 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.
    • getOrganizationUsage

      public String getOrganizationUsage()
      Returns:
      the organization use
    • setOrganizationUsage

      public void setOrganizationUsage(String organizationUsage)
      Parameters:
      organizationUsage - the value of organization_usage to set.
    • getAllowAnyOrganization

      public Boolean getAllowAnyOrganization()
      Returns:
      the value of allow_any_organization
    • setAllowAnyOrganization

      public void setAllowAnyOrganization(Boolean allowAnyOrganization)
      Parameters:
      allowAnyOrganization - the value of allow_any_organization to set.