Blossom.AuthPlug (blossom v0.5.0)

View Source

Summary

Functions

call(conn, options)

get_header(conn)

get_opts(options)

get_token(conn)

get_user(controller, user_id)

handle_auth(outcome, conn, opts)

init(opts)

jwt_key(config, opts)

put_private(outcome, conn, opts)

put_user(conn, fields, opts)

realm(config, opts, otp_app)

send_401(conn, error, opts)

token_from_header(header)

unauthorized_header(conn, error, realm)

user_key(config, opts)

users_controller(config, opts)