**DEPRECATED**: Deauthorize use of this database.

def logout(self):
        """**DEPRECATED**: Deauthorize use of this database."""
        warnings.warn("Database.logout() is deprecated",
                      DeprecationWarning, stacklevel=2)

        # Sockets will be deauthenticated as they are used.
        self.client._purge_credentials(self.name)