def get_login_information(self, code=None):
        """Return Clef user info after exchanging code for OAuth token."""
        # do the handshake to get token
        access_token = self._get_access_token(code)
        # make request with token to get user details
        return self._get_user_info(access_token)
Return Clef user info after exchanging code for OAuth token.