Logout (v2.0.0)

Command that will logout a user from Cognito.

New version found

You are looking at a previous version of the command Logout. The latest version of this command is v2.1.0

Overview

This command in the Authentication adapter, can be used to logout a user from cognito. This will invalidate the refresh tokens, so that they will not be allowed to be used to refresh and access token.

The command uses the Authorization header to decide which user that shall be logged out.

Architecture diagram