public interface AuthProvider
| Modifier and Type | Method and Description |
|---|---|
Authentication |
getAuthentication(AuthContext context) |
@NonNull Authentication getAuthentication(AuthContext context) throws AuthException
context - 当前被检查的方法及目标对象。AuthException - 验证未通过时必须抛出,可自行扩展及捕捉验证异常。