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
intThe identifier.
GetAuthenticationToSave(int, string, int?, int?)
public EndpointAuthentication GetAuthenticationToSave(int authenticationId, string authenticationAddInType, int? collectionId = null, int? endpointId = null)
Parameters
Returns
GetEndpointAuthenticationById(int)
Gets an Endpoint Authentication by id.
public EndpointAuthentication GetEndpointAuthenticationById(int id)
Parameters
id
intThe 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
EndpointAuthenticationThe Endpoint Authentication.
UpdateToken(EndpointAuthentication, string)
public void UpdateToken(EndpointAuthentication endpointAuthentication, string token)
Parameters
endpointAuthentication
EndpointAuthenticationtoken
string
ValidateAuthenticationAddIn(EndpointAuthentication)
public string ValidateAuthenticationAddIn(EndpointAuthentication endpointAuthentication)
Parameters
endpointAuthentication
EndpointAuthentication