public static class DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
DeviceCodeFlowParameters |
build() |
DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder |
claims(ClaimsRequest claims)
Claims to be requested through the OIDC claims request parameter, allowing requests for standard and custom claims
|
DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder |
deviceCodeConsumer(@NonNull Consumer<DeviceCode> deviceCodeConsumer)
Receives the device code returned from the first step of Oauth2.0 device code flow.
|
DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder |
extraHttpHeaders(Map<String,String> extraHttpHeaders)
Adds additional headers to the token request
|
DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder |
extraQueryParameters(Map<String,String> extraQueryParameters)
Adds additional query parameters to the token request
|
DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder |
scopes(@NonNull Set<String> scopes)
Scopes to which the application is requesting access to.
|
DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder |
tenant(String tenant)
Overrides the tenant value in the authority URL for this request
|
String |
toString() |
public DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder scopes(@NonNull @NonNull Set<String> scopes)
this.public DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder deviceCodeConsumer(@NonNull @NonNull Consumer<DeviceCode> deviceCodeConsumer)
DeviceCode.verificationUri and the DeviceCode.userCode should be shown
to the end user.
For more details, see https://aka.ms/msal4j-device-code
this.public DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder claims(ClaimsRequest claims)
this.public DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder extraHttpHeaders(Map<String,String> extraHttpHeaders)
this.public DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder extraQueryParameters(Map<String,String> extraQueryParameters)
this.public DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder tenant(String tenant)
this.public DeviceCodeFlowParameters build()
Copyright © 2013–2025. All rights reserved.