# invalidate

Invalidate the authentication for the current connection using the invalidate method in the SurrealDB PHP SDK.

Invalidates the authentication for the current connection.

```php title="Method Syntax"
$db->invalidate()
```

## Example usage
```php
$db->invalidate();
```
