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: