googleapis / googleapis/google-api-java-client

GoogleAuthorizationCodeFlow Won't Work With non-AppEngine

Đang mở
#2,256 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
priority: p3 type: feature request
Ngôn ngữ chính
Java
Star
1.5k
Fork
772
Merge trung bình
1 giờ 44 phút
Pull request đã merge (30 ngày)
1

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.