@Stability(value=Experimental) public static final class OAuthFlows.Builder extends Object implements software.amazon.jsii.Builder<OAuthFlows>
OAuthFlows| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
OAuthFlows.Builder |
authorizationCodeGrant(Boolean authorizationCodeGrant)
Sets the value of
OAuthFlows.getAuthorizationCodeGrant() |
OAuthFlows |
build()
Builds the configured instance.
|
OAuthFlows.Builder |
clientCredentials(Boolean clientCredentials)
Sets the value of
OAuthFlows.getClientCredentials() |
OAuthFlows.Builder |
implicitCodeGrant(Boolean implicitCodeGrant)
Sets the value of
OAuthFlows.getImplicitCodeGrant() |
@Stability(value=Experimental) public OAuthFlows.Builder authorizationCodeGrant(Boolean authorizationCodeGrant)
OAuthFlows.getAuthorizationCodeGrant()authorizationCodeGrant - Initiate an authorization code grant flow, which provides an authorization code as the response.this@Stability(value=Experimental) public OAuthFlows.Builder clientCredentials(Boolean clientCredentials)
OAuthFlows.getClientCredentials()clientCredentials - Client should get the access token and ID token from the token endpoint using a combination of client and client_secret.this@Stability(value=Experimental) public OAuthFlows.Builder implicitCodeGrant(Boolean implicitCodeGrant)
OAuthFlows.getImplicitCodeGrant()implicitCodeGrant - The client should get the access token and ID token directly.this@Stability(value=Experimental) public OAuthFlows build()
build in interface software.amazon.jsii.Builder<OAuthFlows>OAuthFlowsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.