-
Notifications
You must be signed in to change notification settings - Fork 0
1.1.1 Authorizer
Anders Mikkelsen edited this page Dec 21, 2017
·
2 revisions
The Authorizer is optional for implementing an authorizer class. It is used by the VerificationServiceImpl.
public interface Authorizer {
boolean isAsync();
boolean authorize(Jws<Claims> claims, String domainIdentifier, Authorization authorization) throws IllegalAccessException;
void authorize(Jws<Claims> claims, String domainIdentifier, Authorization authorization, Handler<AsyncResult<Boolean>> resultHandler);
void block(String domainIdentifier, String userId, Handler<AsyncResult<Boolean>> resultHandler);
}