Liking cljdoc? Tell your friends :D

full.contacts-api-client.oauth


exchange-auth-codeclj

(exchange-auth-code & {:keys [client-id client-secret redirect-uri code]})

Exchanges the code returned from a the authorization redirect for access token and refresh token.

Exchanges the code returned from a the authorization redirect for access token and refresh token.
raw docstring

get-authorize-urlclj

(get-authorize-url & {:keys [client-id scope redirect-uri state]})

Returns the URL to redirect a user to for the Authorization step of the OAuth process.

Returns the URL to redirect a user to for the Authorization step of the OAuth process.
raw docstring

get-urlclj

(get-url endpoint)

refresh-tokenclj

(refresh-token & {:keys [client-id client-secret refresh-token]})

Obtains a new access token from a refresh token.

Obtains a new access token from a refresh token.
raw docstring

requestclj

(request endpoint
         &
         {:keys [json form body headers params method]
          :or {headers {} params {} method :post}})

verify-access-tokenclj

(verify-access-token access-token)

Checks if an access token is still valid

Checks if an access token is still valid
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close