Dnsimple.Identity.whoami
You're seeing just the function
whoami
, go back to Dnsimple.Identity module for more information.
Link to this function
whoami(client, options \\ [])
Specs
whoami(Dnsimple.Client.t(), Keyword.t()) :: {:ok | :error, Dnsimple.Response.t()}
Returns information about the currently authenticated user and/or account.
See:
Examples:
client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.Identity.whoami(client)