Auth.AuthProviderPluginClass to configure an external Salesforce authentication provider
global class B2BTIDAuthPlugin extends Auth .AuthProviderPluginClass { private String customMetadataTypeApiName; private String redirectUrl; private String consumerKey; private String consumerSecret; private String authorizationUrl; private String accessTokenUrl; private String userInfoUrl; private String scope; /** * @description This method is responsible for returning the custom metadata that stores the api credentials and other details * @author Raja Patnaik | 01-24-2022 * @return String Returns the custom metadata type API name for a custom OAuth-based authentication provider for single sign-on to Salesforce **/ global String getCustomMetadataType () { String methodName = 'getCustomMetadataType' ; System . debug ( 'Entered Method: ' + methodName ); customMetadataTypeApiName = ...