-
Notifications
You must be signed in to change notification settings - Fork 0
1.0.3 AuthPackageHandler
Anders Mikkelsen edited this page Dec 21, 2017
·
2 revisions
This interface is intended to be implemented by the application to handle the final conversion of an external token to an internal JWT, and pass the userprofile to the handler. Its contract is as follows:
public interface AuthPackageHandler {
void processDirectAuth(AuthPackage authPackage, String userId,
Handler<AsyncResult<JsonObject>> resultHandler);
void processOAuthFlow(AuthPackage authPackage, String userId,
String finalUrl, Handler<AsyncResult<JsonObject>> resultHandler);
}