def force_authenticate(self, user=None, token=None):
self.handler._force_user = user<EOL>self.handler._force_token = token<EOL>if user is None:<EOL><INDENT>self.logout()<EOL><DEDENT>
Forcibly authenticates outgoing requests with the given
user and/or token.