Packages

An Elixir library for interacting with the Clerk API

Current section

Files

Jump to
clerk_ex lib contexts jwt_templates.ex
Raw

lib/contexts/jwt_templates.ex

defmodule Clerk.JWTTemplates do
@moduledoc """
JWT Templates context.
"""
@adapter Application.compile_env(:clerk_ex, :jwt_templates_adapter, Clerk.Adapters.JWTTemplates)
defdelegate list(), to: @adapter
defdelegate get_id(id), to: @adapter
defdelegate create(params), to: @adapter
defdelegate update(id, params), to: @adapter
defdelegate delete_id(id), to: @adapter
end