urbit/base/mar/oauth-tokens/door.hook
2015-05-28 16:07:03 -07:00

16 lines
339 B
Plaintext

:: 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)
--
--