happyr / googlesiteauthenticatorbundle Goto Github PK
View Code? Open in Web Editor NEWAuthenticate you website (not your users) with Google API
License: MIT License
Authenticate you website (not your users) with Google API
License: MIT License
I understand caching is fine, but why open yourself up to dependency hell ?
For the last hours I've been struggling for that simple thing: caching.
If you cache the access token, why not use a simple filesystem which is available in a PHPs default installation ?
I just want a simple cache to filesystem, but I have to install dozens of other bundles to give me this trivial command and still cannot get it to work, because caching bundles like to be abstract and want you to install more and more bundles all the time.
I am trying to store mongo db backups to google drive I am not sure about adapters
This is my configuration:
dizda_cloud_backup:
output_file_prefix: '%dizda_hostname%'
timeout: 300
processor:
type: zip # Required: tar|zip|7z
options:
compression_ratio: 6
password: '%dizda_compressed_password%'
cloud_storages:
google_drive:
token_name: 'AIzaSyA4AE21Y-YqneV5fG7MPx4TF1LGmuO8' # Required
remote_path: ~ # Not required, default "/", but you can use path like "/Accounts/backups/"
databases:
mongodb:
all_databases: false # Only required when no database is set
database: '%database_name%'
db_host: '%mongodb_backup_host%'
db_port: '%mongodb_port%'
db_user: '%mongodb_user%'
db_password: '%mongodb_password%'
cache_adapter:
providers:
my_adapter:
factory: 'cache.factory.mongodb'
happyr_google_site_authenticator:
cache_service: 'cache.provider.my_adapter'
tokens:
google_drive:
client_id: '85418079755-28ncgsoo91p69but0mipfdocb07.apps.googleusercontent.com'
client_secret: 'qj0ipdwryCNpfbJQbd-mu'
redirect_url: 'http://localhost:8000/googledrive/'
scopes: ['https://www.googleapis.com/auth/drive']
when I use cache.factory.mongodb adapter, redis factory getting something went terribly wrong a
I verified logs getting Command "--env=prod dizda:backup:start" exited with code "1" {"command":"--env=prod dizda:backup:start","code":1} []
I am not sure which adapter needs to use for mongo backups can someone help me?
Hello Tobias,
I was wondering if you are interested in adding support for Service Accounts to this bundle?
I know the main purpose for this bundle is to have server-side API calls without the need to pay for Google Apps but because we are using your Analytics bundle, specifically the fetch feature, it will be nice to have support for Service Accounts.
If you had tried this in the past or you have any ideas on what do you want to see, please let me know.
Initially I was thinking that in the getClient method specify the type of account, of course leave the current 'web application' type the default but add a 'service account'.
Thank you
Can you allow new versions of google/apiclient . Current stable versions is 2.*
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.