Table of Contents

Class EndpointAuthenticationService

Namespace
Dynamicweb.DataIntegration.EndpointManagement
Assembly
Dynamicweb.DataIntegration.dll

Service for endpoint authentication.

public class EndpointAuthenticationService : ICacheStorage<int, EndpointAuthentication>, ICacheStorage<int>, ICacheStorage
Inheritance
EndpointAuthenticationService
Implements
Inherited Members

Constructors

EndpointAuthenticationService()

Initializes a new instance of the EndpointAuthenticationService class.

public EndpointAuthenticationService()

Properties

Info

Information about the object cache

public CacheInformation Info { get; }

Property Value

CacheInformation

Methods

ClearCache()

Resets all keys to the default value for objects stored in the object cache

public void ClearCache()

ClearCache(IEnumerable<int>)

Resets the specified keys to the default value for objects stored in the object cache

public void ClearCache(IEnumerable<int> keys)

Parameters

keys IEnumerable<int>

Keys to reset

ClearCache(int)

Resets the specified key to the default value for objects stored in the object cache

public void ClearCache(int key)

Parameters

key int

Key to reset

DeleteEndpointAuthentication(int)

Deletes the Endpoint Authentication.

public void DeleteEndpointAuthentication(int id)

Parameters

id int

The identifier.

GetAuthenticationToSave(int, string, int?, int?)

public EndpointAuthentication GetAuthenticationToSave(int authenticationId, string authenticationAddInType, int? collectionId = null, int? endpointId = null)

Parameters

authenticationId int
authenticationAddInType string
collectionId int?
endpointId int?

Returns

EndpointAuthentication

GetEndpointAuthenticationById(int)

Gets an Endpoint Authentication by id.

public EndpointAuthentication? GetEndpointAuthenticationById(int id)

Parameters

id int

The identifier.

Returns

EndpointAuthentication

An instance of Endpoint, if found, otherwise null.

GetEndpointAuthentications()

Gets the endpoint Authentications.

public IEnumerable<EndpointAuthentication> GetEndpointAuthentications()

Returns

IEnumerable<EndpointAuthentication>

A collection of endpoint Authentications.

SaveEndpointAuthentication(EndpointAuthentication)

Saves the Endpoint Authentication.

public void SaveEndpointAuthentication(EndpointAuthentication endpointAuthentication)

Parameters

endpointAuthentication EndpointAuthentication

The Endpoint Authentication.

UpdateToken(EndpointAuthentication, string)

public void UpdateToken(EndpointAuthentication endpointAuthentication, string token)

Parameters

endpointAuthentication EndpointAuthentication
token string

ValidateAuthenticationAddIn(EndpointAuthentication)

public string? ValidateAuthenticationAddIn(EndpointAuthentication endpointAuthentication)

Parameters

endpointAuthentication EndpointAuthentication

Returns

string
To top