mirror of
https://git.youjo.love/youjo/youjo-be.git
synced 2025-02-01 00:49:09 +01:00
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
|