各个平台 scope 类的统一接口 @author yadong.zhang (yadong.zhang0415(a)gmail.com) @version 1.0.0 @since 1.15.7
| 8 | * @since 1.15.7 |
| 9 | */ |
| 10 | public interface AuthScope { |
| 11 | |
| 12 | /** |
| 13 | * 获取字符串 {@code scope},对应为各平台实际使用的 {@code scope} |
| 14 | * |
| 15 | * @return String |
| 16 | */ |
| 17 | String getScope(); |
| 18 | |
| 19 | /** |
| 20 | * 判断当前 {@code scope} 是否为各平台默认启用的 |
| 21 | * |
| 22 | * @return boolean |
| 23 | */ |
| 24 | boolean isDefault(); |
| 25 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…