Provisioning
UI Panel (implemented as Compose Column) that interacts with the user and drives credential provisioning in the given ProvisioningModel.
When OpenId-style user authorization is launched, user interacts with the browser, at the end of this interaction, browser is navigated to a redirect URL that the app should intercept. Meanwhile waitForRedirectLinkInvocation is invoked (asynchronously), it should return the redirect URL once it was navigated to. Although an exotic possibility, multiple authorization sessions can run in parallel (each with its own model). Each authorization session is assigned a unique state value (passed as url parameter on the redirect url). It is important that url with the correct state parameter value is returned by waitForRedirectLinkInvocation. This is important in all cases to avoid contaminating an active authorization session with stale URLs (e.g. from a browser tab)
Parameters
Compose Modifier for this UI control
model that manages credential provisioning
wait for redirect url with the given state parameter being navigated to in the browser.