urbit/base/mar/bit-get-token/door.hook
2015-05-28 16:07:03 -07:00

20 lines
385 B
Plaintext

::
:::: /hook/door/bit-get-token/mar
::
/? 314
/- *bit-api
/+ http
|_ req=bit-get-token
::
++ grow
|% ++ httpreq
=- [/com/coinbase /oauth/token [%post ~] ~ `quay`-]
:~ ['grant_type' 'authorization_code']
['code' oat.req]
['redirect_uri' (crip (earn red.req))]
['client_id' cid.req]
['client_secret' sec.req]
==
--
--