Google Logging API v2 Authentification troubles

  google-api, google-api-php-client, google-oauth, php

I’m trying to authentificate by OAuth token but i didn’t find the way to get it without Google prompt and url redirection.

I’m using php and google/apiclient:"^2.7" library

I try to get token with it but I didn’t find the way to get it.

If it’s not possible to perform it without a google prompt, how I can authenticate my request to the

Thanks in advance for your help.

Source: Ask PHP