To implement a BAdI for the new service provider type, implement a new class that inherits from the superclass CL_OA2C_SPECIFICS_ABSTRACT containing the default OAuth 2.0 service provider specific settings.
In the newly created class, you can adjust the OAuth 2.0 client to the specific OAuth 2.0 implementation of your service provider. Your new class inherits a set of methods you can use as templates. You can change these methods to add parameters, values, and other options. Edit these methods and add service provider specific parameters, values, and other options by overwriting the inherited default OAuth 2.0 client settings with parameters required by your service provider.
In general, there are methods used to define all parameters sent to the service provider. By redefining these methods, you can overwrite any particular request/response parameter. You can use these methods, for example, to access token requests and responses, to extend the configuration to send the current values, or for scope separators. It is also possible to build views with various value sets you can use for different purposes.