ApiKeyApi - axios parameter creator

  • Parameters

    Returns {
        createKey: ((app: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        getKeys: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        revokeKey: ((key: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
    }

    • createKey: ((app: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Create a new api key.

        • (app, options?): Promise<RequestArgs>
        • Parameters

          • app: string

            Name of the app using the authentication key.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • getKeys: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Get all keys.

        • (options?): Promise<RequestArgs>
        • Parameters

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • revokeKey: ((key: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Remove an api key.

        • (key, options?): Promise<RequestArgs>
        • Parameters

          • key: string

            The access token to delete.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>