new SlackAuth(glassContext)
Creates a Slack auth object that knows how to get saved tokens or sign in with Slack to gain new tokens.
Parameters:
Name | Type | Description |
---|---|---|
glassContext |
Object | the Glass context, mandatory |
Returns:
an object for Slack auth operations
Example
var slackAuth = new SlackAuth(glassContext);
Extends
- Class