View Source SimpleOAuth.API behaviour (simple_oauth v0.4.0)

Summary

Callbacks

@callback get_user_info(code :: String.t()) :: {:ok, map()} | {:error, reason :: any()}
Link to this callback

get_user_info(code, list)

View Source
@callback get_user_info(code :: String.t(), [{:config, keyword()}]) ::
  {:ok, map()} | {:error, reason :: any()}
@callback need_token_server() :: boolean()
Link to this callback

token_server_spec()

View Source (optional)
@callback token_server_spec() :: Supervisor.child_spec()