Skip to content

Instantly share code, notes, and snippets.

@jc00ke
Last active December 14, 2016 19:51
Show Gist options
  • Save jc00ke/59765aa0744f791cf7a5752b2f2bcafb to your computer and use it in GitHub Desktop.
Save jc00ke/59765aa0744f791cf7a5752b2f2bcafb to your computer and use it in GitHub Desktop.
def call(conn, _options) do
config_info =
conn
|> get_jwt_from_header
|> verify_jwt
|> get_data
|> get_configuration
handle_authentication(conn, config_info)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment