public static class ProviderPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2Password.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(ProviderPrivateAuthenticationOAuth2FlowFlows providerPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2Password)
Instantiates a new Builder from an existing
ProviderPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2Password
instance.
|
public Builder(ProviderPrivateAuthenticationOAuth2FlowFlows providerPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2Password)
providerPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2Password
- the instance to initialize the Builder withpublic Builder()
public ProviderPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2Password build()
public ProviderPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2Password.Builder clientId(String clientId)
clientId
- the clientIdpublic ProviderPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2Password.Builder clientSecret(String clientSecret)
clientSecret
- the clientSecretpublic ProviderPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2Password.Builder accessToken(String accessToken)
accessToken
- the accessTokenpublic ProviderPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2Password.Builder refreshToken(String refreshToken)
refreshToken
- the refreshTokenpublic ProviderPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2Password.Builder password(ProviderPrivateAuthenticationOAuth2PasswordPassword password)
password
- the passwordCopyright © 2024 IBM Cloud. All rights reserved.