A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More

AuthenticationService.cs

Version InfoThis topic applies to Episerver.ConnectForMarketingAutomation 4.0.0 and lower. For later versions, see Sample Connector - IMarketingConnector

using EPiServer.MarketingAutomationIntegration.Services;
using System;

namespace DemoConnector.Services
{
    /// <summary>
    /// Not directly used by the marketing automation interface framework. 
    /// However, the ProviderServices interface requires it. 
    /// </summary>
    public class AuthenticationService : IAuthenticationService
    {
        /// <summary>
        /// This method is not called by the marketing automation interface framework.
        /// However, the interface is included to support connectors that require an OAuth token for integration.
        /// </summary>
        /// <param name="ignoreCache">If implemented, this will use or ignore the cache.</param>
        /// <returns></returns>
        public string GetOAuthToken(bool ignoreCache)
        {   
            throw new NotImplementedException();
        }
    }
}

Related topics

Last updated: Dec 14, 2015