Vinyl
    Preparing search index...

    Function getDmlsRequestOptions

    • Gets common DMLS request options from the DmlsOptions configuration. Simultaneously requests the auth token and csrf token for security headers.

      Parameters

      • dmlsOptions: DmlsOptions
      • requireAuthorization: boolean

        If true, throws when oAuthToken is not provided.

      Returns Promise<{ csrfToken: Maybe<CsrfToken>; oAuthToken: Maybe<string> }>