WebService::Google::Client::AuthStorage - JSON File Persistence for Google OAUTH Project and User Access Tokens
version 0.06
Set appropriate storage
my $auth_storage = WebService::Google::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::Google::Client::AuthStorage
Pavel Serikov <pavelsr@cpan.org>
Peter Scott <peter@localshop.com.au>
This software is copyright (c) 2017-2018 by Pavel Serikov, Peter Scott and others.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install WebService::Google::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Google::Client
CPAN shell
perl -MCPAN -e shell install WebService::Google::Client
For more information on module installation, please visit the detailed CPAN module installation guide.