googleapis / googleapis/google-api-java-client

GoogleAuthorizationCodeFlow Won't Work With non-AppEngine

オープン
#2,256 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
priority: p3 type: feature request
主要言語
Java
スター
1.5k
フォーク
772
平均マージ
1時間 44分
マージ済み PR(30日)
1

説明

https://developers.google.com/api-client-library/java/google-api-java-client/oauth2

The `GoogleAuthorizationCodeFlow` class needs, for persistence, a `DataStoreFactory`. However, this appears to be accessible only with AppEngine because the Cloud-Run library provides instead a `DatastoreFactory` (small S).

This dependency goes down event into the `AuthorizationCodeFlow` base class making it (seemingly) impossible for me to create a custom derived class that manages the persistence on my terms.

It would be nice if the base class was independent of the storage type, using function calls that can be overridden.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。