AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata constructor
const
AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata({})
Creates a new AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata.
authorizationEndpoint OAuth2 authorization endpoint URL.
issuer OAuth2 authorization server issuer identifier.
responseTypes Set of OAuth2 response types supported by the authorization server.
tokenEndpoint OAuth2 token endpoint URL.
Implementation
const AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata({
required this.authorizationEndpoint,
required this.issuer,
this.responseTypes,
required this.tokenEndpoint,
});