ExOauth2Provider v0.5.2 API Reference

Modules

A module that provides OAuth 2 capabilities for Elixir applications.

The boundary for the OauthAccessGrants system.

Handles the Ecto schema for access grant.

Ecto schema for oauth access tokens

Handles the Ecto schema for access token.

The boundary for the applications system.

Handles the Ecto schema for application.

Handler for dealing with generating access grants.

Methods for authorization code flow.

ExOauth2Provider.Plug contains functions that assist with interacting with ExOauth2Provider via Plugs.

This plug ensures that the request has been authenticated with an access token.

Use this plug to ensure that there are the correct scopes on the token found on the connection.

A default error handler that can be used for failed authentication

Use this plug to authenticate a token contained in the header. You should set the value of the Authorization header to

Functions for dealing with redirect uri.

This module will permit dynamic App.Schema load.

Functions for dealing with scopes.

Handler for dealing with generating access tokens.

Functions for dealing with authorization code strategy.

Functions for dealing with client credentials strategy.

Functions for dealing with refresh token strategy.

Functions for dealing with refresh token strategy.

Functions for dealing with revocation.

Utilities module for mix tasks.

Utilities module for ecto migrations in mix tasks.

Mix Tasks

Prints ExOauth2Provider tasks and their information.

Generates migration file.

Generates schema files.

Generates migrations, schema module files, and updates config.