View Source Zoth.AccessTokens.AccessToken (Zoth v1.0.1)
Handles the Ecto schema for access token.
usage
Usage
Configure lib/my_project/oauth_access_tokens/oauth_access_token.ex the following way:
defmodule MyApp.OauthAccessTokens.OauthAccessToken do
use Ecto.Schema
use Zoth.AccessTokens.AccessToken
schema "oauth_access_tokens" do
access_token_fields()
timestamps()
end
end
Link to this section Summary
Link to this section Types
@type t() :: Ecto.Schema.t()