def display_auth_cache(args):
    '\n    Writes to the screen the state of the authentication cache. (For debugging\n    authentication issues.) BEWARE: DO NOT email the output of this command!!!\n    You must keep the tokens secure. Treat them as passwords.\n    '
    oauth2_instance = oauth2.build_oauth2(args)
    if ((not args.quiet) or (args.quiet == 0)):
        token = oauth2_instance.token_cache['token']
        if ((not args.no_truncate) and (token is not None)):
            token = (token[:10] + '...')
        print(('Auth token: %s' % token))
        expires_time = oauth2_instance.token_cache['expires']
        expires_in = (int(((expires_time - time.time()) * 10)) / 10.0)
        print(('Auth token expires in: %s seconds.' % expires_in))
        if ('refresh' in oauth2_instance.token_cache):
            refresh = oauth2_instance.token_cache['refresh']
            if ((not args.no_truncate) and (refresh is not None)):
                refresh = (refresh[:10] + '...')
            print(('Refresh token: %s' % refresh))
        else:
            print('No refresh token found.')
Writes to the screen the state of the authentication cache. (For debugging
authentication issues.) BEWARE: DO NOT email the output of this command!!!
You must keep the tokens secure. Treat them as passwords.
def display_auth_cache(args):
    '\n    Writes to the screen the state of the authentication cache. (For debugging\n    authentication issues.) BEWARE: DO NOT email the output of this command!!!\n    You must keep the tokens secure. Treat them as passwords.\n    '
    oauth2_instance = oauth2.build_oauth2(args)
    if ((not args.quiet) or (args.quiet == 0)):
        token = oauth2_instance.token_cache['token']
        if ((not args.no_truncate) and (token is not None)):
            token = (token[:10] + '...')
        print(('Auth token: %s' % token))
        expires_time = oauth2_instance.token_cache['expires']
        expires_in = (int(((expires_time - time.time()) * 10)) / 10.0)
        print(('Auth token expires in: %s seconds.' % expires_in))
        if ('refresh' in oauth2_instance.token_cache):
            refresh = oauth2_instance.token_cache['refresh']
            if ((not args.no_truncate) and (refresh is not None)):
                refresh = (refresh[:10] + '...')
            print(('Refresh token: %s' % refresh))
        else:
            print('No refresh token found.')