1
0
mirror of https://github.com/ilyakooo0/urbit.git synced 2024-12-22 06:11:31 +03:00
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)
--
--