@jellyfin/sdk
    Preparing search index...

    Function QuickConnectApiFp

    • QuickConnectApi - functional programming interface

      Parameters

      Returns {
          authorizeQuickConnect(
              code: string,
              userId?: string,
              options?: RawAxiosRequestConfig,
          ): Promise<
              (axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>,
          >;
          getQuickConnectEnabled(
              options?: RawAxiosRequestConfig,
          ): Promise<
              (axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>,
          >;
          getQuickConnectState(
              secret: string,
              options?: RawAxiosRequestConfig,
          ): Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<QuickConnectResult>,
          >;
          initiateQuickConnect(
              options?: RawAxiosRequestConfig,
          ): Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<QuickConnectResult>,
          >;
      }

      • authorizeQuickConnect: function
        • Parameters

          • code: string

            Quick connect code to authorize.

          • OptionaluserId: string

            The user the authorize. Access to the requested user is required.

          • Optionaloptions: RawAxiosRequestConfig

            Override http request option.

          Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>

      • getQuickConnectEnabled: function
        • Parameters

          • Optionaloptions: RawAxiosRequestConfig

            Override http request option.

          Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>

      • getQuickConnectState: function
        • Parameters

          • secret: string

            Secret previously returned from the Initiate endpoint.

          • Optionaloptions: RawAxiosRequestConfig

            Override http request option.

          Returns Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<QuickConnectResult>,
          >

      • initiateQuickConnect: function
        • Parameters

          • Optionaloptions: RawAxiosRequestConfig

            Override http request option.

          Returns Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<QuickConnectResult>,
          >