Interface OAuth2AuthorizationServerMetadata
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
OAuth2AuthorizationServerMetadata.Jsii$Proxy
@Generated(value="jsii-pacmak/1.129.0 (build eaca441)",
date="2026-05-19T08:18:44.468Z")
@Stability(Stable)
public interface OAuth2AuthorizationServerMetadata
extends software.amazon.jsii.JsiiSerializable
Static OAuth2 authorization server metadata for custom credential providers.
Example:
OAuth2CredentialProvider.usingCustom(this, "CustomOAuthMeta", CustomOAuth2CredentialProviderProps.builder()
.clientId("your-client-id")
.clientSecret(SecretValue.unsafePlainText("your-client-secret"))
.authorizationServerMetadata(OAuth2AuthorizationServerMetadata.builder()
.issuer("https://idp.example.com")
.authorizationEndpoint("https://idp.example.com/oauth2/authorize")
.tokenEndpoint("https://idp.example.com/oauth2/token")
.build())
.build());
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forOAuth2AuthorizationServerMetadatastatic final classAn implementation forOAuth2AuthorizationServerMetadata -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The authorization endpoint URL.The issuer URL for the OAuth2 authorization server.The supported response types.The token endpoint URL.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthorizationEndpoint
The authorization endpoint URL. -
getIssuer
The issuer URL for the OAuth2 authorization server. -
getTokenEndpoint
The token endpoint URL. -
getResponseTypes
The supported response types.Default: - not specified
-
builder
-