getIntegrationsSlackLinkSlackWithHttpInfo method

Future<Response> getIntegrationsSlackLinkSlackWithHttpInfo()

Slack sign-in return leg

Where Slack returns the user after they sign in. It establishes the verified Slack workspace and user, confirms that workspace is connected to an org, and hands the browser on to the Hanzo sign-in that completes the link. The verified pair is carried onward in a host-bound cookie rather than in the URL, so the identity being linked cannot be edited in transit. This is one leg of a three-leg flow, and the legs are not interchangeable: a browser is expected to arrive here only from the leg before it. The link URL's state proves the prompt was server-minted and carries the CHAT it started from — it is provenance only, and it never decides which account gets linked. The account identity always comes from the platform's own verified sign-in and a host-bound cookie, so forwarding a link to someone else cannot bind their account, and a session lifted into another browser is refused rather than completed. Each link is single-use, and a deployment without linking configured answers 503.

Note: This method returns the HTTP Response.

Implementation

Future<Response> getIntegrationsSlackLinkSlackWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/v1/integrations/slack/link/slack';

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}