You're seeing just the function access, go back to Slack.Web.Oauth.V2 module for more information.
Link to this function

access(client_id, client_secret, code, optional_params \\ %{})

View Source

Exchanges a temporary OAuth verifier code for an access token.

Required Params

  • client_id - Issued when you created your application. ex: 4b39e9-752c4
  • client_secret - Issued when you created your application. ex: 33fea0113f5b1
  • code - The code param returned via the OAuth callback. ex: ccdaa72ad

Optional Params

  • redirect_uri - This must match the originally submitted URI (if one was sent). ex:

Errors the API can return:

  • bad_client_secret - Value passed for client_secret was invalid.
  • bad_redirect_uri - Value passed for redirect_uri did not match the redirect_uri in the original request.
  • invalid_client_id - Value passed for client_id was invalid.
  • invalid_code - Value passed for code was invalid.
  • invalid_grant_type - Value passed for grant_type was invalid.
  • oauth_authorization_url_mismatch - The OAuth flow was initiated on an incorrect version of the authorization url. The flow must be initiated via /oauth/v2/authorize.