Datasource Plugin to Generic RestFull API - OAuth2 authenticate

HI People,

I’m trying understand about OAuth2 authentication, but in docs I doesn´t find the answer.

I have a service with use Oauth2 Grant Type Password to Authenticate.

How my plugin can authenticate with service?

I’m trying using the getBackendSrv() function to communicate with service, but without success.

There is any plugin of example? If doesn’t have plugin of example there is any video or article about this?

P.S:I don’t want use authentication through configuration file conf