44
45
def _print_token(self, token):
45
46
"""Write `token` to stdout in the standard format."""
46
47
self.stdout.write(convert_tuple_to_string(get_creds_tuple(token)))
49
53
def _generate_token(self, user):
50
54
_, token = user.get_profile().create_authorisation_token()