TDV Adapter for Slack

Build 24.0.9060

GetOAuthAccessToken

Gets an authentication token from Slack.

Input

Name Type Description
AuthMode String The type of authentication mode to use. Select App for getting authentication tokens via a desktop app. Select Web for getting authentication tokens via a Web app.

The allowed values are APP, WEB.

The default value is APP.

Scope String The list of permissions to request from the user. Please check the Slack API for a list of available permissions. If not provided then the default scopes will be passed. For v2 the default scopes are: 'channels:read,groups:read,im:read,mpim:read,channels:write,groups:write,im:write,mpim:write,channels:history,groups:history,im:history,mpim:history,search:read,files:read,pins:read,pins:write,usergroups:read,usergroups:write,reminders:read,reminders:write,users:read,users.profile:read,users.profile:write' and for openid the default scopes are 'openid profile email'.
CallbackURL String Determines where the response is sent. The value of this parameter must exactly match one of the values registered in the settings for the app (including the HTTP or HTTPS schemes, capitalization, and trailing '/').
Verifier String The verifier returned from Slack after the user has authorized your app to have access to their data. This value will be returned as a parameter to the callback URL in GetOAuthAuthorizationURL.
State String This field indicates any state that may be useful to your application upon receipt of the response. Your application receives the same value it sent, as this parameter makes a round-trip to the Slack authorization server and back. Possible uses include redirecting the user to the correct resource in your site, using nonces, and mitigating cross-site request forgery.

Result Set Columns

Name Type Description
TeamName String The name of the current Slack team.
OAuthAccessToken String The access token used for communication with Slack.
TeamId String The ID of the current Slack team.
UserId String The ID of the current user.
OAuthRefreshToken String The refresh token used for communication with Slack.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060