urbit/mar/oauth-tokens.hoon
2015-06-19 17:16:48 -04:00

16 lines
334 B
Plaintext

:: this mark is used to receive incoming oauth2 refresh/access tokens
::
:::: /hoon/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)
--
--