@jellyfin/sdk
    Preparing search index...

    Function ApiKeyApiFp

    • ApiKeyApi - functional programming interface

      Parameters

      Returns {
          createKey(
              app: string,
              options?: RawAxiosRequestConfig,
          ): Promise<
              (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
          >;
          getKeys(
              options?: RawAxiosRequestConfig,
          ): Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<AuthenticationInfoQueryResult>,
          >;
          revokeKey(
              key: string,
              options?: RawAxiosRequestConfig,
          ): Promise<
              (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
          >;
      }

      • createKey: function
        • Parameters

          • app: string

            Name of the app using the authentication key.

          • Optionaloptions: RawAxiosRequestConfig

            Override http request option.

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

      • getKeys: function
        • Parameters

          • Optionaloptions: RawAxiosRequestConfig

            Override http request option.

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

      • revokeKey: function
        • Parameters

          • key: string

            The access token to delete.

          • Optionaloptions: RawAxiosRequestConfig

            Override http request option.

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