launch
Launches a URL in a browser tab and waits for the authentication to complete.
Return
A Result containing the redirect Uri with authentication data on success, or an appropriate exception on failure.
Parameters
url
The authentication URL to launch in the browser.
redirectUri
The URI to which the authentication server should redirect after completion. This should match the redirect URI configured with the authentication server.
pending
Whether the launch is already pending (true) or needs to be initiated (false). When true, the method skips the launch but still waits for and processes the result.