Contains the auth endpoint.
Contains the client ID.
Contains the federation ID.
Optionallogger?: LoggerContains the logger.
OptionalnoBrowserOpen?: booleanContains the no browser open.
OptionaltimeoutMs?: numberContains the timeout ms.
Optionalwriter?: (s: string) => voidContains the writer.
Starts a loopback callback server and obtains an OAuth authorization code.
The function writes the authorization URL, optionally opens it in a browser, and waits until the browser redirects to the local server.
timeoutMslimits that wait. The returned verifier is secret and is required by getToken.