alfresco-ng2-components/docs/core/logout.directive.md

618 B

Title, Added, Status
Title Added Status
Logout directive v2.0.0 Active

Logout directive

Logs the user out when the decorated element is clicked.

Basic Usage

<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