getAuthTokenCallback type

The callback function used to acquire an authentication token in anonymous authentication mode. Resolve with the authentication token or reject with any errors.

type getAuthTokenCallback = (
  resolve: (value?: string) => void,
  reject: (reason?: any) => void,
  map: Map
) => void