urbit/sec/com/slack.hoon

16 lines
375 B
Plaintext
Raw Normal View History

2016-03-04 23:27:54 +03:00
:: Test url +https://slack.com/api/auth.test
::
:::: /hoon/slack/com/sec
::
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-save-access:aut . |=(tok=token:aut +>(tok tok)))
2016-01-23 06:07:42 +03:00
--