(add-provider provider-params)
Adds provider based on user provided provider-data map and initiates chain of function calls to retrieve an oauth token.
Adds provider based on user provided provider-data map and initiates chain of function calls to retrieve an oauth token.
(delete-provider provider)
Remove provider and token data.
Remove provider and token data.
(logout-provider provider)
Removes token data from provider and changes state.
Removes token data from provider and changes state.
(oauth-token provider)
Retrieve oauth token for use in authentication call. Returns nil if the authentication process hasn't started.
Retrieve oauth token for use in authentication call. Returns nil if the authentication process hasn't started.
(parse-params response)
Parse parameters in URL from the OAuth 2 server HTTP response.
Parse parameters in URL from the OAuth 2 server HTTP response.
(refresh-token provider)
In case the token refresher doesn't work, call this function with provider keyword to update a specific provider, calling it without arguments tries to update all keys.
In case the token refresher doesn't work, call this function with provider keyword to update a specific provider, calling it without arguments tries to update all keys.
(user-interaction)
Returns user interaction url if present, nil if not.
Returns user interaction url if present, nil if not.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close