auth0_ex v0.3.1 Auth0Ex.Management.Client View Source
A module representing client on Auth0
Link to this section Summary
Functions
Gets all the clients
Creates a new Auth0 client from given body
Deletes the client with given client id
Gets the information for individual client
Rotate a client secret for client with given ID
Updates Auth0 client of given ID with given body
Link to this section Functions
Link to this function
all(params \\ %{}) View Source
Gets all the clients
iex> Auth0Ex.Management.Client.all()
iex> Auth0Ex.Management.Client.all(fields: "name,client_id")
Link to this function
create(body) View Source
Creates a new Auth0 client from given body
iex> Auth0Ex.Management.Client.create(%{name: "Samars App"})
Link to this function
delete(id) View Source
Deletes the client with given client id
iex> Auth0Ex.Management.Client.delete("some_client_id")
Link to this function
get(id) View Source
Gets the information for individual client
iex> Auth0Ex.Management.Client.get("some_id")
iex> Auth0Ex.Management.Client.get("some_id", [fields: "id,client_id", include_fields: true])
Link to this function
get(id, params) View Source
Link to this function
rotate_secret(id) View Source
Rotate a client secret for client with given ID
iex> Auth0Ex.Management.Client.rotate_secret("some_client_id")
Link to this function
update(id, body) View Source
Updates Auth0 client of given ID with given body
iex> Auth0Ex.Management.Client.update("some_client_id", %{name: "New Client Name"})