keycloak v0.2.0 Keycloak.Admin View Source

This module is responsible for making calls to the Keycloak admin api.

Example

client = Keycloak.Client.new(token: "supersecret")

case Keycloak.Admin.get(client, "/") do
  {:ok, %O{body: body}} ->
    body
  {:error, %{body: body}} ->
    "#{inspect body}"
end

response = OAuth2.Client.get!(client, "/some/resource")

Link to this section Summary

Functions

Makes an authorized GET request to url

Makes an authorized POST request to url

Link to this section Functions

Makes an authorized GET request to url

Makes an authorized POST request to url