Revision 0238c167 kamaki/cli/commands/astakos_cli.py
b/kamaki/cli/commands/astakos_cli.py | ||
---|---|---|
56 | 56 |
class astakos_authenticate(_astakos_init): |
57 | 57 |
"""Authenticate a user""" |
58 | 58 |
|
59 |
def main(self): |
|
59 |
def main(self, custom_token=None):
|
|
60 | 60 |
super(astakos_authenticate, self).main() |
61 | 61 |
try: |
62 |
reply = self.client.authenticate() |
|
62 |
reply = self.client.authenticate(custom_token)
|
|
63 | 63 |
except ClientError as err: |
64 | 64 |
raiseCLIError(err) |
65 | 65 |
print_dict(reply) |
Also available in: Unified diff