Interface Oauth2AuthorizationServerMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Oauth2AuthorizationServerMetadata.Builder,
,Oauth2AuthorizationServerMetadata> SdkBuilder<Oauth2AuthorizationServerMetadata.Builder,
,Oauth2AuthorizationServerMetadata> SdkPojo
- Enclosing class:
Oauth2AuthorizationServerMetadata
@Mutable
@NotThreadSafe
public static interface Oauth2AuthorizationServerMetadata.Builder
extends SdkPojo, CopyableBuilder<Oauth2AuthorizationServerMetadata.Builder,Oauth2AuthorizationServerMetadata>
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationEndpoint
(String authorizationEndpoint) The authorization endpoint URL for the OAuth2 authorization server.The issuer URL for the OAuth2 authorization server.responseTypes
(String... responseTypes) The supported response types for the OAuth2 authorization server.responseTypes
(Collection<String> responseTypes) The supported response types for the OAuth2 authorization server.tokenEndpoint
(String tokenEndpoint) The token endpoint URL for the OAuth2 authorization server.tokenEndpointAuthMethods
(String... tokenEndpointAuthMethods) The authentication methods supported by the token endpoint.tokenEndpointAuthMethods
(Collection<String> tokenEndpointAuthMethods) The authentication methods supported by the token endpoint.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
issuer
The issuer URL for the OAuth2 authorization server.
- Parameters:
issuer
- The issuer URL for the OAuth2 authorization server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationEndpoint
The authorization endpoint URL for the OAuth2 authorization server.
- Parameters:
authorizationEndpoint
- The authorization endpoint URL for the OAuth2 authorization server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenEndpoint
The token endpoint URL for the OAuth2 authorization server.
- Parameters:
tokenEndpoint
- The token endpoint URL for the OAuth2 authorization server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseTypes
The supported response types for the OAuth2 authorization server.
- Parameters:
responseTypes
- The supported response types for the OAuth2 authorization server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseTypes
The supported response types for the OAuth2 authorization server.
- Parameters:
responseTypes
- The supported response types for the OAuth2 authorization server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenEndpointAuthMethods
Oauth2AuthorizationServerMetadata.Builder tokenEndpointAuthMethods(Collection<String> tokenEndpointAuthMethods) The authentication methods supported by the token endpoint. This specifies how clients can authenticate when requesting tokens from the authorization server.
- Parameters:
tokenEndpointAuthMethods
- The authentication methods supported by the token endpoint. This specifies how clients can authenticate when requesting tokens from the authorization server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenEndpointAuthMethods
Oauth2AuthorizationServerMetadata.Builder tokenEndpointAuthMethods(String... tokenEndpointAuthMethods) The authentication methods supported by the token endpoint. This specifies how clients can authenticate when requesting tokens from the authorization server.
- Parameters:
tokenEndpointAuthMethods
- The authentication methods supported by the token endpoint. This specifies how clients can authenticate when requesting tokens from the authorization server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-