IAuthenticationService interface
Version Info: This topic applies to Episerver.ConnectForMarketingAutomation 4.0.0 and lower. For later versions, see Sample Connector - IMarketingConnector.
Implement this interface to get an OAuth token.
- Namespace. EPiServer.MarketingAutomationIntegration.Services
- Assembly. EPiServer.MarketingAutomationIntegration (in EPiServer.MarketingAutomationIntegration.dll) Version: 2.2.0.9000
- C# syntax.
public interface IAuthenticationService
Methods
IAuthenticationService.GetOAuthToken method
Get the OAuth token, so you can attach it to the subsequence API call request. You should cache this OAuth token for later use.
- Namespace. EPiServer.MarketingAutomationIntegration.Services
- Assembly. EPiServer.MarketingAutomationIntegration (in EPiServer.MarketingAutomationIntegration.dll) Version: 2.2.0.9000
- C# syntax.
string GetOAuthToken( bool ignoreCache )
- Parameters.
- ignoreCache. Type: System. Boolean
By default, this token is cached for later use. If set to true, it requests a new token and updates the cache.
- ignoreCache. Type: System. Boolean
- Return value. Type: String
Token string.
Last updated: Dec 10, 2015