start
fun start(idToken: String, redirectUrl: String, browserRedirectHandler: BrowserRedirectHandler, extraRequestParameters: Map<String, String> = emptyMap()): CompletableFuture<Unit>
Performs the full redirect end-session flow asynchronously.
Builds the logout URL, opens it via browserRedirectHandler, and validates the redirect.
Return
a CompletableFuture that completes with Unit on success, or completes exceptionally on failure.
Parameters
idToken
the ID token hint identifying the session to log out.
redirectUrl
the post-logout redirect URI registered with the authorization server.
browserRedirectHandler
handles opening the browser and capturing the redirect URI.
extraRequestParameters
additional key-value pairs appended to the end-session URL.