@extract_id(User, Identity)<EOL><INDENT>def verify(self, user, identity):<DEDENT>
return UserIdentityRequest(self).put(self.endpoint.verify, user, identity)<EOL>
Verify an identity for a user

:param user: User id or object
:param identity: Identity id or object
:return: the verified Identity