ApiFactory: {
    generateAmApi(
        resource: ResourceConfig,
        requestOverride?: AxiosRequestConfig,
    ): AxiosInstance;
    generateEnvApi(
        resource: ResourceConfig,
        requestOverride?: AxiosRequestConfig,
    ): AxiosInstance;
    generateGovernanceApi(
        resource: ResourceConfig,
        requestOverride?: AxiosRequestConfig,
    ): AxiosInstance;
    generateIdmApi(requestOverride?: AxiosRequestConfig): AxiosInstance;
    generateLogApi(requestOverride?: AxiosRequestConfig): AxiosInstance;
    generateLogKeysApi(requestOverride?: AxiosRequestConfig): AxiosInstance;
    generateOauth2Api(
        resource: ResourceConfig,
        requestOverride?: AxiosRequestConfig,
        authenticate?: boolean,
    ): AxiosInstance;
    generateReleaseApi(
        baseUrl: string,
        requestOverride?: AxiosRequestConfig,
    ): AxiosInstance;
}

Type declaration

  • generateAmApi:function
    • Generates an AM Axios API instance

      Parameters

      Returns AxiosInstance

      Returns a reaady to use Axios instance

  • generateEnvApi:function
    • Generates an Axios instance for the Identity Cloud Environment API

      Parameters

      Returns AxiosInstance

      Returns a reaady to use Axios instance

  • generateGovernanceApi:function
    • Generates an Axios instance for the Identity Cloud Governance API

      Parameters

      Returns AxiosInstance

      Returns a reaady to use Axios instance

  • generateIdmApi:function
    • Generates an IDM Axios API instance

      Parameters

      Returns AxiosInstance

      Returns a reaady to use Axios instance

  • generateLogApi:function
    • Generates a Log API Axios instance

      Parameters

      Returns AxiosInstance

      Returns a reaady to use Axios instance

  • generateLogKeysApi:function
    • Generates a LogKeys API Axios instance

      Parameters

      Returns AxiosInstance

      Returns a reaady to use Axios instance

  • generateOauth2Api:function
    • Generates an OAuth2 Axios API instance

      Parameters

      • resource: ResourceConfig

        Takes a resource object. example:

      • OptionalrequestOverride: AxiosRequestConfig

        Takes an object of AXIOS parameters that can be used to either add on extra information or override default properties https://github.com/axios/axios#request-config

      • Optionalauthenticate: boolean

      Returns AxiosInstance

      Returns a reaady to use Axios instance

  • generateReleaseApi:function
    • Generates a release (Github or Npm) Axios API instance

      Parameters

      • baseUrl: string

        Base URL for the request

      • OptionalrequestOverride: AxiosRequestConfig

        Takes an object of AXIOS parameters that can be used to either add on extra information or override default properties https://github.com/axios/axios#request-config

      Returns AxiosInstance

      Returns a reaady to use Axios instance