Package com.linecorp.armeria.server.auth
Interface AuthSuccessHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A callback which is invoked to handle an authorization success indicated by
Authorizer
.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionauthSucceeded
(HttpService delegate, ServiceRequestContext ctx, HttpRequest req) Invoked when the authorization of the specifiedHttpRequest
has succeeded.
-
Method Details
-
authSucceeded
HttpResponse authSucceeded(HttpService delegate, ServiceRequestContext ctx, HttpRequest req) throws Exception Invoked when the authorization of the specifiedHttpRequest
has succeeded.- Parameters:
delegate
- the nextHttpService
in the decoration chainctx
- theServiceRequestContext
req
- theHttpRequest
being handled- Throws:
Exception
-