module Session:sig..end
type oauth1_context = {
|
token : |
(* |
OAuth1 authorized token.
| *) |
|
secret : |
(* |
OAuth1 secret associated with the authorized token.
| *) |
val token : (oauth1_context, string) GapiLens.tval secret : (oauth1_context, string) GapiLens.ttype oauth2_context = {
|
oauth2_token : |
(* |
OAuth2 authorized token.
| *) |
|
refresh_token : |
(* |
OAuth2 refresh token.
| *) |
val oauth2_token : (oauth2_context, string) GapiLens.tval refresh_token : (oauth2_context, string) GapiLens.ttype auth_context =
| |
NoAuth |
(* |
No authorization.
| *) |
| |
ClientLogin of |
(* |
Client Login authorized token.
| *) |
| |
OAuth1 of |
(* |
OAuth1 context.
| *) |
| |
OAuth2 of |
(* |
OAuth2 context.
| *) |
val no_auth : (auth_context, unit option) GapiLens.tval client_login : (auth_context, string option) GapiLens.tval oauth1 : (auth_context,
oauth1_context option)
GapiLens.tval oauth2 : (auth_context,
oauth2_context option)
GapiLens.ttype t = {
|
curl : |
(* |
Curl state.
| *) |
|
config : |
(* |
Library configuration.
| *) |
|
auth : |
(* |
Current authorization context.
| *) |
|
: |
(* |
Cookies received from the server.
| *) |
|
etag : |
(* |
Current resource ETag (received from the server).
| *) |
val curl : (t, [ `Created ] GapiCurl.t) GapiLens.tval config : (t, GapiConfig.t) GapiLens.tval auth : (t, auth_context)
GapiLens.t : (t, string list) GapiLens.tval etag : (t, string) GapiLens.t