auth0_ex v0.3.2 Auth0Ex.Management.ClientGrant View Source
A module representing client_grant resource
Link to this section Summary
Functions
Gets all the client grants
Creates a client grant
Delete a client grant
Updates a client grant
Link to this section Functions
Link to this function
all(params \\ %{}) View Source
Gets all the client grants
iex> Auth0Ex.Management.ClientGrant.all()
iex> Auth0Ex.Management.ClientGrant.all(audience: "aud")
Link to this function
create(body) View Source
Creates a client grant
iex> Auth0Ex.Management.ClientGrant.create(%{client_id: "client_id", audience: "someaud", scope: []})
Link to this function
delete(id) View Source
Delete a client grant
iex> Auth0Ex.Management.ClientGrant.delete("client_grant_to_delete")
Link to this function
update(id, body) View Source
Updates a client grant
iex> Auth0Ex.Management.ClientGrant.update("client_grant_to_update", %{scope: []})