package savvy
A straightforward OAuth2 client
Install
Dune Dependency
Authors
Maintainers
Sources
savvy-0.2.0.tbz
sha256=172de1fdd0e5d015c7dbbef1845f47d452bd9c3153ebb07b0a0d459164906957
sha512=4cdb0156d9bce1ae8f466bedc7be52d303dfb73d099dceb47949fbf0cd5a9452ba1da13db829e88432ff4fb9404fda41694033dcd91e3bb6466b729cf2740272
doc/savvy.oauth2_client/Oauth2_client/index.html
Module Oauth2_client
Source
Source
val authorization_code_config_of_yojson :
Yojson.Safe.t ->
authorization_code_config Ppx_deriving_yojson_runtime.error_or
Source
type client_credentials_config = {
client_id : string;
client_secret : string;
scope : string list;
token_auth_method : token_auth_method;
token_endpoint : Uri.t;
}
Source
val client_credentials_config_of_yojson :
Yojson.Safe.t ->
client_credentials_config Ppx_deriving_yojson_runtime.error_or
Source
val device_code_config_of_yojson :
Yojson.Safe.t ->
device_code_config Ppx_deriving_yojson_runtime.error_or
Source
type refresh_token_config = {
client_id : string;
client_secret : string;
token_endpoint : Uri.t;
refresh_token : string;
scope : string list option;
token_auth_method : token_auth_method;
}
Source
val refresh_token_config_of_yojson :
Yojson.Safe.t ->
refresh_token_config Ppx_deriving_yojson_runtime.error_or
Source
type config =
| AuthorizationCodeConfig of authorization_code_config
| ClientCredentialsConfig of client_credentials_config
| DeviceCodeConfig of device_code_config
| RefreshTokenConfig of refresh_token_config
Source
type token_response = {
access_token : string;
token_type : string;
expires_in : int option;
refresh_token : string option;
scope : string option;
}
Source
val token_response_of_yojson :
Yojson.Safe.t ->
token_response Ppx_deriving_yojson_runtime.error_or
Source
val device_code_response_of_yojson :
Yojson.Safe.t ->
device_code_response Ppx_deriving_yojson_runtime.error_or
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>