swagger-api/swagger-codegen

[Python] OAuth2 support & refresh-tokens

オープン

#4,000 opened on 2016/10/14

 (12 件のコメント) (4 件のリアクション) (0 人の担当者)HTML (5,474 件のフォーク)batch import
Client: PythonEnhancement: Featurehelp wanted

Repository metrics

Stars
 (12,701 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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?

コントリビューターガイド