public interface AuthenticationResolver
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
onLoginSuccess(Request request,
Response response,
leap.core.security.Authentication authentication)
Invoked when login success.
|
default void |
onLogoutSuccess(Request request,
Response response)
Invoked when logout success.
|
leap.lang.Result<leap.core.security.Authentication> |
resolveAuthentication(Request request,
Response response,
AuthenticationContext context)
Resolves
Authentication in the request. |
leap.lang.Result<leap.core.security.Authentication> resolveAuthentication(Request request, Response response, AuthenticationContext context) throws Throwable
Authentication in the request.
Returns a failure result if failed to resolve authentication and the request was handled by the resolver.Throwabledefault void onLoginSuccess(Request request, Response response, leap.core.security.Authentication authentication)
Copyright © 2019. All rights reserved.