public static class ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2Password.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(ProviderAuthenticationOAuth2Flows providerAuthenticationOAuth2FlowsProviderAuthenticationOAuth2Password)
Instantiates a new Builder from an existing
ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2Password instance.
|
public Builder(ProviderAuthenticationOAuth2Flows providerAuthenticationOAuth2FlowsProviderAuthenticationOAuth2Password)
providerAuthenticationOAuth2FlowsProviderAuthenticationOAuth2Password
- the instance to
initialize the Builder withpublic Builder()
public ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2Password build()
public ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2Password.Builder tokenUrl(String tokenUrl)
tokenUrl
- the tokenUrlpublic ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2Password.Builder refreshUrl(String refreshUrl)
refreshUrl
- the refreshUrlpublic ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2Password.Builder clientAuthType(String clientAuthType)
clientAuthType
- the clientAuthTypepublic ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2Password.Builder contentType(String contentType)
contentType
- the contentTypepublic ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2Password.Builder headerPrefix(String headerPrefix)
headerPrefix
- the headerPrefixpublic ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2Password.Builder username(ProviderAuthenticationOAuth2PasswordUsername username)
username
- the usernameCopyright © 2024 IBM Cloud. All rights reserved.