Provide a base class for OAuth2 Provider