Class CfnService.MCPServerOAuthClientCredentialsConfigProperty
MCP server OAuth client credentials configuration.
Inherited Members
Namespace: Amazon.CDK.AWS.DevOpsAgent
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnService.MCPServerOAuthClientCredentialsConfigProperty : CfnService.IMCPServerOAuthClientCredentialsConfigProperty
Syntax (vb)
Public Class CfnService.MCPServerOAuthClientCredentialsConfigProperty Implements CfnService.IMCPServerOAuthClientCredentialsConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DevOpsAgent;
var exchangeParameters;
var mCPServerOAuthClientCredentialsConfigProperty = new MCPServerOAuthClientCredentialsConfigProperty {
ClientId = "clientId",
ClientSecret = "clientSecret",
ExchangeUrl = "exchangeUrl",
// the properties below are optional
ClientName = "clientName",
ExchangeParameters = exchangeParameters,
Scopes = new [] { "scopes" }
};
Synopsis
Constructors
| MCPServerOAuthClientCredentialsConfigProperty() | MCP server OAuth client credentials configuration. |
Properties
| ClientId | OAuth client ID. |
| ClientName | User friendly OAuth client name. |
| ClientSecret | OAuth client secret. |
| ExchangeParameters | OAuth token exchange parameters. |
| ExchangeUrl | OAuth token exchange URL. |
| Scopes | OAuth scopes. |
Constructors
MCPServerOAuthClientCredentialsConfigProperty()
MCP server OAuth client credentials configuration.
public MCPServerOAuthClientCredentialsConfigProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DevOpsAgent;
var exchangeParameters;
var mCPServerOAuthClientCredentialsConfigProperty = new MCPServerOAuthClientCredentialsConfigProperty {
ClientId = "clientId",
ClientSecret = "clientSecret",
ExchangeUrl = "exchangeUrl",
// the properties below are optional
ClientName = "clientName",
ExchangeParameters = exchangeParameters,
Scopes = new [] { "scopes" }
};
Properties
ClientId
OAuth client ID.
public string ClientId { get; set; }
Property Value
Remarks
ClientName
User friendly OAuth client name.
public string? ClientName { get; set; }
Property Value
Remarks
ClientSecret
OAuth client secret.
public string ClientSecret { get; set; }
Property Value
Remarks
ExchangeParameters
OAuth token exchange parameters.
public object? ExchangeParameters { get; set; }
Property Value
Remarks
ExchangeUrl
OAuth token exchange URL.
public string ExchangeUrl { get; set; }