Try our conversational search powered by Generative AI!

IAuthenticationService interface

Version InfoThis 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.

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.

  • NamespaceEPiServer.MarketingAutomationIntegration.Services
  • Assembly. EPiServer.MarketingAutomationIntegration (in EPiServer.MarketingAutomationIntegration.dll) Version: 2.2.0.9000
  • C# syntax.
    string GetOAuthToken(
      bool ignoreCache
    )
  • Parameters.
    • ignoreCacheTypeSystem. Boolean
      By default, this token is cached for later use. If set to true, it requests a new token and updates the cache.
  • Return value. Type: String
    Token string.

Last updated: Dec 10, 2015