googleapis / googleapis/google-api-java-client

GoogleAuthorizationCodeFlow Won't Work With non-AppEngine

Aperta
#2,256 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
priority: p3 type: feature request
Lingua principale
Java
Stelle
1.5k
Fork
772
Merge medio
1h 44m
PR unite (30g)
1

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.