package gapi-ocaml
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A simple OCaml client for Google Services
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.4.8.tar.gz
sha256=5cc769af46198deb88707ccb50398088316e60f51db8c36389e6a2aae4c2ad30
md5=d918a22fde1b1d49a9783fb2f932d059
doc/gapi-ocaml/GapiAuth/index.html
Module GapiAuthSource
Stores data used to authorize requests.
Source
type oauth1_data = {signature_method : GapiCore.SignatureMethod.t;consumer_key : string;consumer_secret : string;token : string;secret : string;
}Source
type oauth1_params = {http_method : GapiCore.HttpMethod.t;url : string;post_fields_to_sign : (string * string) list;
}Source
type oauth2_data = {client_id : string;client_secret : string;oauth2_token : string;refresh_token : string;refresh_access_token : (unit -> string) option;
}Source
type oauth2_service_account_data = {service_account_credentials_json : string;scopes : string list;user_to_impersonate : string option;oauth2_service_account_token : string;refresh_service_account_access_token : (unit -> string) option;
}Source
type authentication = | NoAuth| ClientLogin of string| OAuth1 of oauth1_data| OAuth2 of oauth2_data| OAuth2ServiceAccount of oauth2_service_account_data
Source
val generate_authorization_header :
?oauth1_params:oauth1_params ->
authentication ->
string option sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>