urbit/base/mar/oauth-tokens/door.hook

16 lines
339 B
Plaintext
Raw Normal View History

2015-05-29 02:07:03 +03:00
:: this mark is used to receive incoming oauth2 refresh/access tokens
::
:::: /hook/door/oauth-tokens/mar
::
/? 310
!:
|_ [tok=@t ref=@t]
::
++ grab :: converter arm
|%
++ noun ,[@t @t] :: clam from noun
++ json (corl need (ot 'access_token'^so 'refresh_token'^so ~):jo)
--
--