Skip to main content

logout

Logout the logged in user. This is based of authentication header. Default behaviour is only the session which connects to the header will be logged out

logout(
logoutAllSessions: Boolean
): LogoutResult

Arguments

logoutAllSessions ● Boolean

Should all sessions for the user which connects to the authentication header be logged out

Type

LogoutResult

The result of logging out