Dnsimple.Identity (dnsimple v3.1.1) View Source
Provides functions to interact with the identity endpoints.
See:
Link to this section Summary
Functions
Returns information about the currently authenticated user and/or account.
Link to this section Functions
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)