IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder 类
- java.
lang. Object - com.
microsoft. aad. msal4j. IntegratedWindowsAuthenticationParameters. IntegratedWindowsAuthenticationParametersBuilder
- com.
public static class IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder
方法摘要
| 修饰符和类型 | 方法和描述 |
|---|---|
|
Integrated |
build() |
|
Integrated |
claims(ClaimsRequest claims)
通过 OIDC 声明请求参数请求的声明,允许对标准和自定义声明的请求 |
|
Integrated |
extraHttpHeaders(Map<String,String> extraHttpHeaders)
向令牌请求添加其他标头 |
|
Integrated |
extraQueryParameters(Map<String,String> extraQueryParameters)
将其他参数添加到令牌请求 |
|
Integrated |
scopes(@NonNull Set<String> scopes)
应用程序请求访问的范围 |
|
Integrated |
tenant(String tenant)
替代此请求的颁发机构 URL 中的租户值 |
| java.lang.String | toString() |
|
Integrated |
username(@NonNull String username)
要为其获取令牌的用户帐户的标识符 |
方法继承自 java.lang.Object
方法详细信息
build
public IntegratedWindowsAuthenticationParameters build()
claims
public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder claims(ClaimsRequest claims)
通过 OIDC 声明请求参数请求的声明,允许对标准和自定义声明的请求
参数:
返回:
this。extraHttpHeaders
public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder extraHttpHeaders(Map<String,String> extraHttpHeaders)
向令牌请求添加其他标头
参数:
返回:
this。extraQueryParameters
public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder extraQueryParameters(Map<String,String> extraQueryParameters)
将其他参数添加到令牌请求
参数:
返回:
this。scopes
public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder scopes(@NonNull Set<String> scopes)
应用程序请求访问的范围
参数:
返回:
this。tenant
public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder tenant(String tenant)
替代此请求的颁发机构 URL 中的租户值
参数:
返回:
this。toString
public String toString()
替代:
IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder.toString()username
public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder username(@NonNull String username)
要为其获取令牌的用户帐户的标识符
参数:
返回:
this。