# IncludedOauth2TenantEndpoints

Optional tenant OAuth endpoints for IdPs that use CloudFormation `IncludedOauth2ProviderConfig` with issuer and/or endpoints per the IdP’s outbound documentation.

- Source: [`lib/identity/oauth2-credential-provider.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-bedrock-agentcore-alpha/lib/identity/oauth2-credential-provider.ts#L401)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
const includedOauth2TenantEndpoints: bedrock_agentcore_alpha.IncludedOauth2TenantEndpoints = {
  authorizationEndpoint: 'authorizationEndpoint',
  issuer: 'issuer',
  tokenEndpoint: 'tokenEndpoint',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_bedrock_agentcore_alpha as bedrock_agentcore_alpha

included_oauth2_tenant_endpoints = bedrock_agentcore_alpha.IncludedOauth2TenantEndpoints(
    authorization_endpoint="authorizationEndpoint",
    issuer="issuer",
    token_endpoint="tokenEndpoint"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.agentcore.alpha.*;

IncludedOauth2TenantEndpoints includedOauth2TenantEndpoints = IncludedOauth2TenantEndpoints.builder()
        .authorizationEndpoint("authorizationEndpoint")
        .issuer("issuer")
        .tokenEndpoint("tokenEndpoint")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.Bedrock.Agentcore.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock.Agentcore.Alpha;

var includedOauth2TenantEndpoints = new IncludedOauth2TenantEndpoints {
    AuthorizationEndpoint = "authorizationEndpoint",
    Issuer = "issuer",
    TokenEndpoint = "tokenEndpoint"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import bedrock_agentcore_alpha "github.com/aws/aws-cdk-go/awsbedrockagentcorealpha"

includedOauth2TenantEndpoints := &IncludedOauth2TenantEndpoints{
	AuthorizationEndpoint: jsii.String("authorizationEndpoint"),
	Issuer: jsii.String("issuer"),
	TokenEndpoint: jsii.String("tokenEndpoint"),
}
```

## Properties

- `authorizationEndpoint`: string — OAuth2 authorization endpoint for your tenant.

  **Default:** not specified; use when your IdP requires an explicit endpoint

- `issuer`: string — Token issuer URL for your tenant (often the IdP base or issuer URI).

  **Default:** not specified; use when your IdP requires an explicit issuer

- `tokenEndpoint`: string — OAuth2 token endpoint for your tenant.

  **Default:** not specified; use when your IdP requires an explicit endpoint
