Overview
TheVillage.logout()
function allows you to programmatically end the user’s current session with Village directly from your application. This is useful when a user logs out of your main application and you want to ensure their Village session is cleared as well.
Usage
Simply call the logout function directly withVillage
: