forked from YokaiRick/akkoma
1097ce6d9f
OAuthController#create_authorization user retrieval / creation, errors handling, template & layout selection.
7 lines
202 B
Elixir
7 lines
202 B
Elixir
defmodule Pleroma.Web.AuthenticatorAdapter do
|
|
alias Pleroma.User
|
|
|
|
@callback get_user(Plug.Conn.t()) :: {:ok, User.t()} | {:error, any()}
|
|
|
|
@callback handle_error(Plug.Conn.t(), any()) :: any()
|
|
end
|