MULE-7865 - adding oauth 2.0 authorization code grant type support

I remove it and create a base class for both authorizaction code grant type and client credentials that have this method and implement common interfaces.