I - the type of incoming Request. Must be HttpRequest or RpcRequest.O - the type of outgoing Response. Must be HttpResponse or RpcResponse.@FunctionalInterface public interface AuthSuccessHandler<I extends Request,O extends Response>
Authorizer.| Modifier and Type | Method and Description |
|---|---|
O |
authSucceeded(Service<I,O> delegate,
ServiceRequestContext ctx,
I req)
Invoked when the authorization of the specified
Request has succeeded. |
O authSucceeded(Service<I,O> delegate, ServiceRequestContext ctx, I req) throws Exception
Request has succeeded.delegate - the next Service in the decoration chainctx - the ServiceRequestContext of reqreq - the Request being handledExceptionCopyright © 2020 LeanCloud. All rights reserved.