# getClientIdDuration

Learn how to get the lifetime of the client ID cookie.

This method provides the lifetime of the client ID cookie, in seconds.

## Signature

This method has the following signature:

```php
public function getClientIdDuration(): int
```

This method returns the lifetime of the client ID cookie, in seconds.

## Example

Here is a basic example of how to use this method:

```php
<?php
use Croct\Plug\CookieConfiguration;

$configuration = new CookieConfiguration();
$duration = $configuration->getClientIdDuration();
```
