public interface OIDCLoginCallback
| Modifier and Type | Method and Description |
|---|---|
void |
callback(java.net.URL loginURL,
java.net.URL redirectURL,
OIDCLoginContinuation loginContinuation)
A callback method called when the OpenID Connect Login flow requires the user to authenticate
with the Originating Party (OP).
|
void callback(java.net.URL loginURL,
java.net.URL redirectURL,
OIDCLoginContinuation loginContinuation)
loginURL - The url given to the web view to start the authentication flow
with the Originating party.redirectURL - The redirect url used for determining when authentication with
the Originating party is completed and when the login continuation
should be processed. Technically you need to wait for the web view
to redirect to a URL whose host and path are the same as the given
redirectURL (the query string after the path will be different)
Instead of following the redirect, close the web view and call
the given login continuation's callback method with the redirected
URL (and a null error.)loginContinuation - The login continuation's callback to be called after receiving the
redirect url or an error from the web view.