I was searching for hours, maybe with wrong keywords, and what a surprise i've found the most great document about auth only some minutes after posting here...

Complete reference and examples for using oAuth2.0 authentication in order to run google apis from within desktop ("installed") applications:
https://developers.google.com/accoun...edApp#overview

[solved]