urbit/sec/com/slack.hoon
2016-01-25 14:49:38 -08:00

12 lines
313 B
Plaintext

/+ oauth2
::
::::
::
=+ 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)))
--