# UserPoolAuthenticationProvider

Defines a User Pool Authentication Provider.

Extends: UserPoolAuthenticationProvider
Implements: IUserPoolAuthenticationProvider

- Source: [`aws-cognito-identitypool/lib/identitypool-user-pool-authentication-provider.ts`](https://github.com/aws/aws-cdk/blob/v2.273.0/packages/aws-cdk-lib/aws-cognito-identitypool/lib/identitypool-user-pool-authentication-provider.ts#L76)
- Type last changed: v2.186.0 · 27 Mar 2025

## Example

```ts
declare const identityPool: IdentityPool;
const userPool = new cognito.UserPool(this, 'Pool');
identityPool.addUserPoolAuthentication(new UserPoolAuthenticationProvider({
  userPool,
  disableServerSideTokenCheck: true,
}));
```

## Initializer

```ts
new UserPoolAuthenticationProvider(props: UserPoolAuthenticationProviderProps)
```

## Methods

- `bind(scope: Construct, identityPool: IIdentityPool, _options?: UserPoolAuthenticationProviderBindOptions): UserPoolAuthenticationProviderBindConfig` — The method called when a given User Pool Authentication Provider is added (for the first time) to an Identity Pool.
