-
Notifications
You must be signed in to change notification settings - Fork 16
OAuth
Ehsan Abbasi edited this page May 3, 2017
·
6 revisions
If your bot is going to be published and used by other teams publicly you need to use OAuth. To handle OAuth functionalities use a class called src/Botonomous/OAuth.php
.
In order to generate an Add to Slack button use this:
$addButtonHtml = (new OAuth())->generateAddButton();