AccountApi - factory interface export

  • Parameters

    • Optionalconfiguration: Configuration
    • OptionalbasePath: string
    • Optionalaxios: AxiosInstance

    Returns {
        apiAccountDelete(options?: RawAxiosRequestConfig): AxiosPromise<void>;
        refreshAccessToken(auth0RefreshTokenRequestDeet?: Auth0RefreshTokenRequestDeet, options?: RawAxiosRequestConfig): AxiosPromise<TokenResponse>;
        requestAuthLink(authLinkRequestDeet?: AuthLinkRequestDeet, options?: RawAxiosRequestConfig): AxiosPromise<AuthLinkResponse>;
        requestOtp(auth0OtpGenerateDeets?: Auth0OtpGenerateDeets, options?: RawAxiosRequestConfig): AxiosPromise<Auth0OtpGenerateResponse>;
        verifyOtp(auth0OtpVerifyDeets?: Auth0OtpVerifyDeets, options?: RawAxiosRequestConfig): AxiosPromise<TokenResponse>;
    }

    • apiAccountDelete:function
      • The account block action is irreversible through the API. Users must contact support to unblock their accounts if this action was done in error. summary Disables a user's account by marking it as blocked in Auth0. The user ID is extracted from the JWT token provided in the Authorization header.

        Parameters

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns AxiosPromise<void>

    • refreshAccessToken:function
    • requestAuthLink:function
    • requestOtp:function
    • verifyOtp:function