shrub/sec/com/slack.hoon

12 lines
313 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(state-usr |) +<- /client/admin)
++ 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
--