AuthenticationService class
Version Info: This topic applies to Episerver.ConnectForMarketingAutomation 4.0.0 and lower. For later versions, see Sample Connector - IMarketingConnector.
Not directly used by the MAI framework, however the ProviderServices interface requires it.
- Inheritance Hierarchy.
System.Object DemoConnector.Services.AuthenticationService
- Namespace. DemoConnector.Services
- Assembly. DemoConnector (in DemoConnector.dll) Version: 1.0.0.0
- C# syntax.
public class AuthenticationService : IAuthenticationService
Constructor ![](/globalassets/public-method-icon.png)
Initializes a new instance of the AuthenticationService class
- Namespace. DemoConnector.Services
- Assembly. DemoConnector (in DemoConnector.dll) Version: 1.0.0.0
- C# syntax.
public AuthenticationService()
Methods ![](/globalassets/public-method-icon.png)
AuthenticationService.GetOAuthToken method ![](/globalassets/public-method-icon.png)
This method is never called by the MAI framework. However the interface is included specifically to support connectors that require an OAuth token for integration.
- Namespace. DemoConnector.Services
- Assembly. DemoConnector (in DemoConnector.dll) Version: 1.0.0.0
- C# syntax.
public string GetOAuthToken( bool ignoreCache )
- Parameters.
- ignoreCache. Type. System.Boolean
If implemented, this uses or ignores the cache.
- ignoreCache. Type. System.Boolean
- Return value. Type: String
- Implements. IAuthenticationService.GetOAuthToken(Boolean)
Last updated: Dec 10, 2015