OAuth2 service implementation.