---
Added: v2.0.0
Status: Active
---
# Logout directive

Logs the user out when the decorated element is clicked.

## Basic Usage

```html
<button adf-logout>Logout</button>
```

## See also

-   [Login component](login.component.md)
