Clerk (Clerk SDK v1.0.1)

clerk is a library for authenticating with ClerkJS.

Installation

The package can be installed by adding clerk to your list of dependencies in mix.exs:


def deps do
  [
    {:clerk, "~> 0.1.0"}
  ]
end

Usage

Configuration

  config :clerk,
    domain: "example.clerk.accounts.dev"

In you application's supervisor:

  children = [
    ...
    {Clerk, Application.get_all_env(:clerk)},
    ...
  ]

Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for Supervisor.init/1.

Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for Supervisor.init/1.

Link to this function

start_link(opts)