ExOauth2Provider v0.5.5 ExOauth2Provider.Applications.Application View Source

Handles the Ecto schema for application.

Usage

Configure lib/my_project/oauth_applications/oauth_application.ex the following way:

defmodule MyApp.OauthApplications.OauthApplication do
  use Ecto.Schema
  use ExOauth2Provider.Applications.Application

  schema "oauth_applications" do
    application_fields()

    timestamps()
  end
end

Link to this section Summary

Link to this section Types

Link to this section Functions

Link to this macro

application_fields()

View Source (macro)
Link to this function

changeset(application, params, config \\ [])

View Source
changeset(Ecto.Schema.t(), map(), keyword()) :: Ecto.Changeset.t()