def get_client_login_token_string(http_body):
 for response_line in http_body.splitlines():
  if response_line.startswith('Auth='):
   return response_line[5:]
 return None

def get_client_login_token_string ( http_body ) : for response_line in http_body . splitlines ( ) : if response_line . startswith ( 'Auth=' ) : return response_line [ 5 : ] return None
returns the token value for a clientlogintoken .