NAME

API::Google::Server - Mojolicious::Lite web server for getting Google API tokens via Oauth 2.0

VERSION

version 0.07

METHODS

get_new_tokens

Get new access_token by auth_code

get_google_cert

Get one of Google certificates for validation of JSON Web Token

Check https://jwt.io/ and https://developers.google.com/identity/protocols/OpenIDConnect#validatinganidtoken for more details

get_email

Get email address of API user

AUTHOR

Pavel Serikov <pavelsr@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Pavel Serikov.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.