<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def configure(obj, token):
 """Use this command to configure API tokens """

    config = obj.get('config') or FileConfig(obj['profile'])
    config.auth_token = token
    config.save()