OAuth 2.0 authorization and token exchange
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocaml-oauth: reformat MDX example in lib/oauth.mli

dune fmt cleanup of an exchange_code example now checked by mdx.

+2 -5
+2 -5
lib/oauth.mli
··· 705 705 706 706 {b Example} 707 707 {[ 708 - let acquire_token http clock ~client_id ~client_secret ~code 709 - ~redirect_uri = 710 - let client_auth = 711 - Oauth.Client_auth.basic ~client_id ~client_secret 712 - in 708 + let acquire_token http clock ~client_id ~client_secret ~code ~redirect_uri = 709 + let client_auth = Oauth.Client_auth.basic ~client_id ~client_secret in 713 710 match 714 711 Oauth.exchange_code http Google ~client_auth ~code ~redirect_uri () 715 712 with