shrub/mar/oauth-tokens.hoon
2015-12-20 13:16:39 -08: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)
--
--