public static class ProviderAuthenticationOAuth2.Builder extends Object
| Constructor and Description |
|---|
Builder()
Instantiates a new builder.
|
| Modifier and Type | Method and Description |
|---|---|
ProviderAuthenticationOAuth2 |
build()
Builds a ProviderAuthenticationOAuth2.
|
ProviderAuthenticationOAuth2.Builder |
flows(ProviderAuthenticationOAuth2Flows flows)
Set the flows.
|
ProviderAuthenticationOAuth2.Builder |
preferredFlow(String preferredFlow)
Set the preferredFlow.
|
public ProviderAuthenticationOAuth2 build()
public ProviderAuthenticationOAuth2.Builder preferredFlow(String preferredFlow)
preferredFlow - the preferredFlowpublic ProviderAuthenticationOAuth2.Builder flows(ProviderAuthenticationOAuth2Flows flows)
flows - the flowsCopyright © 2025 IBM Cloud. All rights reserved.