Delen via


DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder Class

  • java.lang.Object
    • com.microsoft.aad.msal4j.DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder

public static class DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder

Method Summary

Modifier and Type Method and Description
DeviceCodeFlowParameters build()
DeviceCodeFlowParametersBuilder claims(ClaimsRequest claims)
DeviceCodeFlowParametersBuilder deviceCodeConsumer(Consumer<DeviceCode> deviceCodeConsumer)
DeviceCodeFlowParametersBuilder extraHttpHeaders(Map<String,String> extraHttpHeaders)
DeviceCodeFlowParametersBuilder extraQueryParameters(Map<String,String> extraQueryParameters)
DeviceCodeFlowParametersBuilder scopes(Set<String> scopes)
DeviceCodeFlowParametersBuilder tenant(String tenant)
java.lang.String toString()

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Method Details

build

public DeviceCodeFlowParameters build()

claims

public DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder claims(ClaimsRequest claims)

Parameters:

claims

deviceCodeConsumer

public DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder deviceCodeConsumer(Consumer deviceCodeConsumer)

Parameters:

deviceCodeConsumer

extraHttpHeaders

public DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder extraHttpHeaders(Map extraHttpHeaders)

Parameters:

extraHttpHeaders

extraQueryParameters

public DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder extraQueryParameters(Map extraQueryParameters)

Parameters:

extraQueryParameters

scopes

public DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder scopes(Set scopes)

Parameters:

scopes

tenant

public DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder tenant(String tenant)

Parameters:

tenant

toString

public String toString()

Overrides:

DeviceCodeFlowParameters.DeviceCodeFlowParametersBuilder.toString()

Applies to