public interface AuthenticateCallback extends NetworkAsyncCallback<AuthenticateCallback.Params,AuthenticateCallback.Action>
The callback can be used to display a UI dialog to ask the user to enter the credentials (is not obligated).
Use the AuthenticateCallback.Action.cancel()
method to reject the authentication request.
Use the AuthenticateCallback.Action.authenticate(String, String)
method to provide the credentials. In
case you provide the credentials, the callback will not be invoked again for the current domain.
If the callback throws an exception, the AuthenticateCallback.Action.cancel()
method will be invoked.
Modifier and Type | Interface and Description |
---|---|
static class |
AuthenticateCallback.Action
An action providing a response to the
AuthenticateCallback . |
static interface |
AuthenticateCallback.Params
The parameters of the
AuthenticateCallback . |
on