PhoenixOauth2Provider v0.4.0 PhoenixOauth2Provider View Source
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.
Link to this section Summary
Functions
Will get current resource owner from endpoint
Link to this section Functions
Link to this function
current_resource_owner(conn)
View Source
current_resource_owner(Plug.Conn.t()) :: Ecto.Schema.t() | no_return()
Will get current resource owner from endpoint