PhoenixOauth2Provider v0.1.0 PhoenixOauth2Provider

A module that provides OAuth 2 server capabilities for Phoenix applications.

Configuration

config :phoenix_oauth2_provider, PhoenixOauth2Provider,
  current_resource_owner: :current_user,
  module: MyApp,
  router: MyApp.Router

You can find more config options in the ex_oauth2_provider library.

Summary

Functions

Will get current resource owner from endpoint

Functions

current_resource_owner(conn)

Will get current resource owner from endpoint