UIAuthCallback
UIAuthCallback<
T> = (makeRequest) =>Promise<T>
Defined in: src/interactive-auth.ts:165
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 authData parameter in makeRequest can be set to null to omit the auth field
from the UIA request.
The generic parameter T is the type of the response of the endpoint, once it is eventually successful.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”makeRequest
Section titled “makeRequest”(authData) => Promise<T>
Returns
Section titled “Returns”Promise<T>