I wasn't able to find docs on the Oauth2authenticator class, however I did see that the SearchMetrics source connector uses it
here and wraps some functionality around it. You don't need to import the abstract class, just Oauth2authenticator.
Please submit a documentation request to our repo if you can:
https://github.com/airbytehq/airbyte/issues/new/choose