package savvy
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A straightforward OAuth2 client
Install
dune-project
Dependency
Authors
Maintainers
Sources
savvy-0.4.1.tbz
sha256=d6ef1f13c522e1d920e2ddc707ee7da4392bf178d8ccbaaea50cc5a2b67c10ad
sha512=74ee303d5b80453ce8a6c6fb49e765b91079bf0b4ed84801ad7d9adcc1dd4ebb22075706e9de4ee90800e2bef5f2eb133ea94f6d82c4e216159ea0e298bb88e8
doc/savvy.oauth2_client/Oauth2_client/index.html
Module Oauth2_clientSource
Source
val authorization_code_config_of_yojson :
Yojson.Safe.t ->
authorization_code_config Ppx_deriving_yojson_runtime.error_orSource
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_orSource
val device_code_config_of_yojson :
Yojson.Safe.t ->
device_code_config Ppx_deriving_yojson_runtime.error_orSource
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_orSource
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_orSource
val device_code_response_of_yojson :
Yojson.Safe.t ->
device_code_response Ppx_deriving_yojson_runtime.error_orSource
module OAuth2Client
(_ : Storage.STORAGE_UNIT with type value = string * config) :
OAUTH2_CLIENT sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>