public interface AuthManager
User login(Object request) throws AccessException
request - where we can find the user informationAccessException - if authentication is failedvoid auth(Permission permission, User user) throws AccessException
permission - permission to authuser - user who wants to access the resource.AccessException - if authorization is failedCopyright © 2018–2021 Alibaba Group. All rights reserved.