# OAuth2CredentialsProperty

The credentials used when the authentication type is OAuth2 authentication.

- Source: Generated code
- Type last changed: v2.178.0 · 6 Feb 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const oAuth2CredentialsProperty: glue.CfnConnection.OAuth2CredentialsProperty = {
  accessToken: 'accessToken',
  jwtToken: 'jwtToken',
  refreshToken: 'refreshToken',
  userManagedClientApplicationClientSecret: 'userManagedClientApplicationClientSecret',
};
```

## Properties

- `accessToken`: string — The access token used when the authentication type is OAuth2.

- `jwtToken`: string — The JSON Web Token (JWT) used when the authentication type is OAuth2.

- `refreshToken`: string — The refresh token used when the authentication type is OAuth2.

- `userManagedClientApplicationClientSecret`: string — The client application client secret if the client application is user managed.
