Returns the redirect URI after the server starts; throws before then.
Returns the received authorization code.
Returns the OAuth state value.
Starts the local callback server. Call waitForCode to await the request.
Stops the local callback server.
Waits for a valid code and rejects when the optional timeout expires.
Receives one OAuth authorization code on a loopback HTTP server.
The server binds to
127.0.0.1on an available port. It accepts the code only when the returned state matches the generated state. This class is a low-level part of interactive federation login.