WebService::GoogleAPI::Client::AuthStorage - JSON File Persistence for Google OAUTH Project and User Access Tokens
version 0.20
Set appropriate storage
my $auth_storage = WebService::GoogleAPI::Client::AuthStorage->new; $auth_storage->setup; # by default will be config.json $auth_storage->setup({type => 'jsonfile', path => '/abs_path' });
Return all parameters that is needed for Mojo::Google::AutoTokenRefresh::refresh_access_token() function: client_id, client_secret and refresh_token
$c->get_credentials_for_refresh('examplemail@gmail.com')
This method must have all subclasses of WebService::GoogleAPI::Client::AuthStorage
Peter Scott <localshop@cpan.org>
This software is Copyright (c) 2017-2018 by Peter Scott and others.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
To install WebService::GoogleAPI::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::GoogleAPI::Client
CPAN shell
perl -MCPAN -e shell install WebService::GoogleAPI::Client
For more information on module installation, please visit the detailed CPAN module installation guide.