ElixirAuthGithub v1.0.0 API Reference

Modules

ElixirAuthGithub is an Elixir package that handles all your GitHub OAuth needs so you can add "Sign in with GitHub" to any Elixir/Phoenix App.

In-memory storage for data while it's being processed. Because we are mocking the api requests in ElixirAuthGithub.HTTPoison.InMemory we have a separate module to delegate the functions we use to the actual HTTPoison module, so that's all we do here. Note: if you have a suggestion of a better way to do this, please share!

This is a set up to mock (stub) our API requests to the GitHub API so that we can test all of our code in ElixirAuthGithub. These are just functions that pattern match on the entries and return things in the way we expect, so that we can check the pipeline in ElixirAuthGithub.github_auth