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>)>

        Authorizes a pending quick connect request.

    • getQuickConnectEnabled:function
      • Parameters

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

        Gets the current quick connect state.

    • 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>)>

        Attempts to retrieve authentication information.

    • initiateQuickConnect:function