module GapiAuth:sig..end
type oauth1_data = {
|
signature_method : |
|
consumer_key : |
|
consumer_secret : |
|
token : |
|
secret : |
type oauth1_params = {
|
http_method : |
|
url : |
|
post_fields_to_sign : |
type oauth2_data = {
|
client_id : |
|
client_secret : |
|
oauth2_token : |
|
refresh_token : |
|
refresh_access_token : |
type authentication =
| |
NoAuth |
| |
ClientLogin of |
| |
OAuth1 of |
| |
OAuth2 of |
: ?oauth1_params:oauth1_params ->
authentication -> string option