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')
|
2016-03-04 23:33:01 +03:00
|
|
|
|_ {(bale keys:oauth2) tok/token.aut}
|
2016-01-26 23:32:52 +03:00
|
|
|
++ aut ~(. ^aut +<- /client/admin)
|
2016-01-26 01:49:38 +03:00
|
|
|
++ out (out-quay:aut 'token'^tok)
|
|
|
|
++ in in-code:aut
|
2016-03-04 23:33:01 +03:00
|
|
|
++ bak (bak-save-access:aut . |=(tok/token:aut +>(tok tok)))
|
2016-01-23 06:07:42 +03:00
|
|
|
--
|