package gapi-ocaml
A simple OCaml client for Google Services
Install
Dune Dependency
Authors
Maintainers
Sources
v0.4.6.tar.gz
sha256=b84b680528a5e050014103a8e7a60a5d43efd5fefc3f838310bd46769775ab48
md5=8ee26acf1f6c6f5e24c7b57fa070a0a2
doc/gapi-ocaml/GapiConversation/Session/index.html
Module GapiConversation.Session
Source
Defines the session that stores the current state of a conversation.
Source
type oauth1_context = {
token : string;
(*OAuth1 authorized token.
*)secret : string;
(*OAuth1 secret associated with the authorized token.
*)
}
Current OAuth1 context.
OAuth1 token lens.
OAuth1 secret lens.
Current OAuth2 context.
OAuth2 token lens.
OAuth2 refresh token lens.
Source
type auth_context =
| NoAuth
(*No authorization.
*)| ClientLogin of string
(*Client Login authorized token.
*)| OAuth1 of oauth1_context
(*OAuth1 context.
*)| OAuth2 of oauth2_context
(*OAuth2 context.
*)
Current authorization context.
No authorization lens.
Client Login token lens.
OAuth1 context lens.
OAuth2 context lens.
Source
type t = {
curl : [ `Created ] GapiCurl.t;
(*Curl state.
*)config : GapiConfig.t;
(*Library configuration.
*)auth : auth_context;
(*Current authorization context.
*)etag : string;
(*Current resource ETag (received from the server).
*)
}
Session type.
Curl state lens.
Configuration lens.
Authorization lens.
Cookies lens.
ETag lens.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>