Andy Stark e5c7ffb314 [ADF-4249] Updates for doc review (#4470)
* [ADF-4249] Updated review checker tool to work with new doc subfolders

* [ADF-4249] Updates for doc review
2019-03-20 18:12:22 +00:00

30 lines
661 B
Markdown

---
Title: Logout directive
Added: v2.0.0
Status: Active
Last reviewed: 2019-03-20
---
# [Logout directive](../../../lib/core/directives/logout.directive.ts "Defined in logout.directive.ts")
Logs the user out when the decorated element is clicked.
## Basic Usage
```html
<button adf-logout>Logout</button>
```
## Class members
### Properties
| Name | Type | Default value | Description |
| ---- | ---- | ------------- | ----------- |
| enableRedirect | `boolean` | true | Enable redirecting after logout |
| redirectUri | `string` | "/login" | URI to redirect to after logging out. |
## See also
- [Login component](../components/login.component.md)