dnsimple v0.9.0 Dnsimple.Oauth

Summary

Functions

authorize_url(client, client_id, query \\ [])

Specs

Returns the URL to start the OAuth dance.

See: https://developer.dnsimple.com/v2/oauth/#step-1---authorization

exchange_authorization_for_token(client, attributes, options \\ [])

Specs

exchange_authorization_for_token(Dnsimple.Client.t, Map.t, Keyword.t) :: String.t

Obtains the access token.

See: https://developer.dnsimple.com/v2/oauth/#step-2---access-token