The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

OAuth2::Google::Plus::UserInfo

DESCRIPTION

implements acallback to https://www.googleapis.com/oauth2/v2/userinfo, retrieving the users google-id, email and verification status.

SYNOPSYS

    use OAuth2::Google::Plus::UserInfo;

    my $info = OAuth2::Google::Plus::UserInfo->new( access_token => $access_token );

    if( $info->is_success ) {
        my $email = $info->email;

        # ...
    }