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

        Create a new api key.

    • getKeys:function
    • revokeKey:function
      • Parameters

        • key: string

          The access token to delete.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

        Remove an api key.