def main(argv):
  flags = common_flags.ParseFlags(argv,
                                  'Create report of domain token info.',
                                  AddFlags)
  if flags.show_users:
    flags.long_list = True
  client_id_summary, scope_summary = token_report_utils.SummarizeTokenStats(
      token_report_utils.GetTokenStats())
  ReportCommonClientIDs(client_id_summary, flags)
  ReportCommonScopes(scope_summary, flags)
A script to test Apps Security APIs: summarizing oauth2 tokens.
dataset/ETHPy150Open google/gfw-toolkit/toolkit/cmds/report_domain_token_status.py/main