package com.metalloop.common.auth.handler; import com.metalloop.common.auth.Authentication; /** * 登录成功处理器 * * @author zhaowenhao * @since 2023-03-19 */ public interface LoginSuccessHandler { /** * 处理登录成功的情况,例如生成令牌、返回用户信息等。 * * @param authentication 认证信息 * @return 登录成功后的响应对象 */ Object onSuccess(Authentication authentication); }