API Reference maat_feather v0.1.0

modules

Modules

MaatFeather keeps the contexts that define your domain and business logic.

keyserver

KeyServer

# config/config.exs
config :maat_feather, MaatFeather.Auth.KeyServer,
# The expiration time of the private keys in chache.
exp: :timer.minutes(30),
# The interval between key rotations.
key_rotation_interval: :timer.minutes(1),
# The host of the redis server.
redis_host: "localhost",
# The port of the redis server.
redis_port: 6379

token

Token

# config/config.exs
config :maat_feather, MaatFeather.Auth.Token,
# The algorithm to use for generating the token.
alg: "RS256",
# The expiration time of the token.
exp: :timer.minutes(15),
# The issuer of the token.
iss: "maat_feather"

The Users context.

The entrypoint for defining your web interface, such as controllers, views, channels and so on.

Plug to user ensure authentication.

Controller for authentication.

Conveniences for translating and building error messages.

Translates controller action results into valid Plug.Conn responses.

A module providing Internationalization with a gettext-based API.

Module with named helpers generated from MaatFeatherWeb.Router.