| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
AppScope |
build() |
AppScope.Builder |
description(String description)
应用权限的国际化描述
示例值:获取应用信息
|
AppScope.Builder |
level(AppScopeScopeLevelEnum level)
权限等级描述
示例值:1
|
AppScope.Builder |
level(Integer level)
权限等级描述
示例值:1
|
AppScope.Builder |
scope(String scope)
应用权限
示例值:contact:user.base
|
AppScope.Builder |
tokenTypes(String[] tokenTypes)
返回用户身份类型user、应用身份类型tenant。
|
public AppScope.Builder scope(String scope)
示例值:contact:user.base
scope - public AppScope.Builder description(String description)
示例值:获取应用信息
description - public AppScope.Builder level(Integer level)
示例值:1
level - public AppScope.Builder level(AppScopeScopeLevelEnum level)
示例值:1
level - AppScopeScopeLevelEnumpublic AppScope.Builder tokenTypes(String[] tokenTypes)
示例值:
tokenTypes - public AppScope build()
Copyright © 2025. All rights reserved.