swagger-api/swagger-codegen

[Python] OAuth2 support & refresh-tokens

Open

#4,000 建立於 2016年10月14日

在 GitHub 查看
 (12 留言) (4 反應) (0 負責人)HTML (5,474 fork)batch import
Client: PythonEnhancement: Featurehelp wanted

倉庫指標

Star
 (12,701 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Description

Hi! I have a few questions:

  1. Is it planned to integrate some sort of support for OAuth2 in that way that it would be auto-generated? If not, would you approve a PR to integrate it?
  2. It would be nice to use refresh-tokens to get transparent authorization. So if user makes a request and his token is outdated it would be great to try to renew token with refresh-token to avoid additional error throwing. Can this be integrated into the auto-generated client? Would such feature be merged if a PR is proposed?

貢獻者指南