Added OAuth 2.0 support to examples