package savvy

  1. Overview
  2. Docs
A straightforward OAuth2 client

Install

dune-project
 Dependency

Authors

Maintainers

Sources

savvy-0.4.1.tbz
sha256=d6ef1f13c522e1d920e2ddc707ee7da4392bf178d8ccbaaea50cc5a2b67c10ad
sha512=74ee303d5b80453ce8a6c6fb49e765b91079bf0b4ed84801ad7d9adcc1dd4ebb22075706e9de4ee90800e2bef5f2eb133ea94f6d82c4e216159ea0e298bb88e8

doc/savvy.oauth2_client/Oauth2_client/OAuth2Client/index.html

Module Oauth2_client.OAuth2ClientSource

Parameters

module _ : Storage.STORAGE_UNIT with type value = string * config

Signature

Sourceval get_authorization_url : config:config -> (Uri.t * string * string, string) result
Sourceval exchange_code_for_token : string -> string -> (token_response, string) result Lwt.t
Sourceval get_client_credentials_token : config:config -> (token_response, string) result Lwt.t
Sourceval refresh_token : config:config -> (token_response, string) result Lwt.t