urbit/sec/com/slack.hoon

12 lines
300 B
Plaintext
Raw Normal View History

2016-01-26 01:49:38 +03:00
/+ oauth2
2016-01-23 06:07:42 +03:00
::
::::
::
2016-01-26 01:49:38 +03:00
=+ aut=(oauth2 [`/com/slack /oauth/authorize ~] /api/'oauth.access')
|_ [(bale keys:oauth2) tok=token.aut]
++ aut ~(. ^aut +<- /client/admin)
2016-01-26 01:49:38 +03:00
++ out (out-quay:aut 'token'^tok)
++ in in-code:aut
++ bak ((bak-parse-access:aut . ~) |=(tok=token:aut +>(tok tok)))
2016-01-23 06:07:42 +03:00
--