NAME
WebService::Google::Client::AuthStorage - JSON File Persistence for Google OAUTH Project and User Access Tokens
VERSION
version 0.06
METHODS
setup
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' });
get_credentials_for_refresh
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
AUTHORS
Pavel Serikov <pavelsr@cpan.org>
Peter Scott <peter@localshop.com.au>
COPYRIGHT AND LICENSE
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.