Handkit.Profile.get_current_profile

You're seeing just the function get_current_profile, go back to Handkit.Profile module for more information.
Link to this function

get_current_profile(client)

View Source

Specs

get_current_profile(Handkit.Connect.t()) :: {:ok, map()} | {:error, any()}

Returns the full profile of the currently authenticated user.

Example

iex> Handkit.Profile.get_current_profile(client)
{:ok, %{
  "private_profile" => %{
    "email" => "StevenUrban1234@gmail.com",
    "phone_number" => "+11234567891"
  },
  "public_profile" => %{
    "avatar_url" => "https://handcash.io/avatar/7d399a0c-22cf-40cf-b162-f5511a4645db",
    "bitcoin_unit" => "DUR",
    "display_name" => "Steven Urban K.",
    "handle" => "stuk_91",
    "id" => "5f15c31c3c177d003028eb97",
    "local_currency_code" => "USD",
    "paymail" => "BrandonC@handcash.io"
  }
}}