jseeqret - v1.0.4
    Preparing search index...

    Function run_oauth_flow

    • Run the PKCE loopback flow to completion and return the Slack User token plus team/user info from auth.test.

      Parameters

      • Optionalopts: { open_browser?: (url: string) => void | Promise<void>; timeout_ms?: number } = {}
        • Optionalopen_browser?: (url: string) => void | Promise<void>

          Called with the authorize URL. Default: print the URL and let the operator click it. The CLI can inject open(url).

        • Optionaltimeout_ms?: number

          Abort after 3 min default.

      Returns Promise<
          {
              access_token: string;
              team_id: string;
              team_name: string;
              user_id: string;
              user_name: string;
          },
      >