UserNamePasswordParameters.UserNamePasswordParametersBuilder Class

  • java.lang.Object
    • com.microsoft.aad.msal4j.UserNamePasswordParameters.UserNamePasswordParametersBuilder

public static class UserNamePasswordParameters.UserNamePasswordParametersBuilder

Method Summary

Modifier and Type Method and Description
UserNamePasswordParameters build()
UserNamePasswordParametersBuilder claims(ClaimsRequest claims)
UserNamePasswordParametersBuilder extraHttpHeaders(Map<String,String> extraHttpHeaders)
UserNamePasswordParametersBuilder extraQueryParameters(Map<String,String> extraQueryParameters)
UserNamePasswordParametersBuilder password(char[] password)
UserNamePasswordParametersBuilder proofOfPossession(HttpMethod httpMethod, URI uri, String nonce)
UserNamePasswordParametersBuilder scopes(Set<String> scopes)
UserNamePasswordParametersBuilder tenant(String tenant)
java.lang.String toString()
UserNamePasswordParametersBuilder username(String username)

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 UserNamePasswordParameters build()

claims

public UserNamePasswordParameters.UserNamePasswordParametersBuilder claims(ClaimsRequest claims)

Parameters:

claims

extraHttpHeaders

public UserNamePasswordParameters.UserNamePasswordParametersBuilder extraHttpHeaders(Map extraHttpHeaders)

Parameters:

extraHttpHeaders

extraQueryParameters

public UserNamePasswordParameters.UserNamePasswordParametersBuilder extraQueryParameters(Map extraQueryParameters)

Parameters:

extraQueryParameters

password

public UserNamePasswordParameters.UserNamePasswordParametersBuilder password(char[] password)

Parameters:

password

proofOfPossession

public UserNamePasswordParameters.UserNamePasswordParametersBuilder proofOfPossession(HttpMethod httpMethod, URI uri, String nonce)

Parameters:

httpMethod
uri
nonce

scopes

public UserNamePasswordParameters.UserNamePasswordParametersBuilder scopes(Set scopes)

Parameters:

scopes

tenant

public UserNamePasswordParameters.UserNamePasswordParametersBuilder tenant(String tenant)

Parameters:

tenant

toString

public String toString()

Overrides:

UserNamePasswordParameters.UserNamePasswordParametersBuilder.toString()

username

public UserNamePasswordParameters.UserNamePasswordParametersBuilder username(String username)

Parameters:

username

Applies to