C library for authentication against oAuth2 providers and acting as oAuth2 consumers