Table of Contents

Class EndpointAuthenticationService

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

Service for endpoint authentication.

public class EndpointAuthenticationService
Inheritance
EndpointAuthenticationService
Inherited Members

Constructors

EndpointAuthenticationService()

Initializes a new instance of the EndpointAuthenticationService class.

public EndpointAuthenticationService()

Methods

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