Package com.auth0.json.mgmt.clientgrants
Class ClientGrant
java.lang.Object
com.auth0.json.mgmt.clientgrants.ClientGrant
Class that represents an Auth0 Client Grant object. Related to the
ClientGrantsEntity entity.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the audience.Getter for the client id of the application.getId()Getter for the id of the client grant.getScope()Getter for the scope.voidsetAllowAnyOrganization(Boolean allowAnyOrganization) voidsetAudience(String audience) Setter for the audience.voidsetClientId(String clientId) Setter for the application's client id.voidsetOrganizationUsage(String organizationUsage) voidSetter for the scope.
-
Constructor Details
-
ClientGrant
public ClientGrant()
-
-
Method Details
-
getId
Getter for the id of the client grant.- Returns:
- the id.
-
getClientId
Getter for the client id of the application.- Returns:
- the application's client id.
-
setClientId
Setter for the application's client id.- Parameters:
clientId- the application's client id to set.
-
getAudience
Getter for the audience.- Returns:
- the audience.
-
setAudience
Setter for the audience.- Parameters:
audience- the audience to set.
-
getScope
Getter for the scope.- Returns:
- the scope.
-
setScope
Setter for the scope.- Parameters:
scope- the scope to set.
-
getOrganizationUsage
- Returns:
- the organization use
-
setOrganizationUsage
- Parameters:
organizationUsage- the value oforganization_usageto set.
-
getAllowAnyOrganization
- Returns:
- the value of
allow_any_organization
-
setAllowAnyOrganization
- Parameters:
allowAnyOrganization- the value ofallow_any_organizationto set.
-