Type alias UIAuthCallback<T>

UIAuthCallback<T>: ((makeRequest) => Promise<T>)

Type Parameters

  • T

Type declaration

    • (makeRequest): Promise<T>
    • The type of an application callback to perform the user-interactive bit of UIA.

      It is called with a single parameter, makeRequest, which is a function which takes the UIA parameters and makes the HTTP request.

      The generic parameter T is the type of the response of the endpoint, once it is eventually successful.

      Parameters

      Returns Promise<T>

Generated using TypeDoc