Table of Contents

Class ExternalLoginService

Namespace
Dynamicweb.Security.UserManagement.ExternalAuthentication
Assembly
Dynamicweb.Core.dll
public abstract class ExternalLoginService : ICacheStorage<int, ExternalLogin>, ICacheStorage<int>, ICacheStorage
Inheritance
ExternalLoginService
Implements
Inherited Members

Properties

Info

Information about the object cache

public abstract CacheInformation Info { get; }

Property Value

CacheInformation

Methods

ClearCache()

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

public abstract void ClearCache()

ClearCache(IEnumerable<int>)

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

public abstract 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 abstract void ClearCache(int key)

Parameters

key int

Key to reset

Delete(int)

Deletes provider

public abstract void Delete(int id)

Parameters

id int

Identifier of provider to be deleted

GetActiveExternalLogins()

Returns a list of active providers.

public abstract IEnumerable<ExternalLogin> GetActiveExternalLogins()

Returns

IEnumerable<ExternalLogin>

A list of ExternalLogin.

GetAllExternalLogins()

Returns a list of all available providers.

public abstract IEnumerable<ExternalLogin> GetAllExternalLogins()

Returns

IEnumerable<ExternalLogin>

A list of ExternalLogin.

GetExternalLoginById(int)

Returns the provider by its Id.

public abstract ExternalLogin? GetExternalLoginById(int id)

Parameters

id int

Provider Id.

Returns

ExternalLogin

GetExternalLoginsForBackend()

Returns a list of active providers which can be used for backend log on.

public abstract IEnumerable<ExternalLogin> GetExternalLoginsForBackend()

Returns

IEnumerable<ExternalLogin>

A list of ExternalLogin.

GetExternalLoginsForFrontend()

Returns a list of active providers which can be used for frontend log on.

public abstract IEnumerable<ExternalLogin> GetExternalLoginsForFrontend()

Returns

IEnumerable<ExternalLogin>

A list of ExternalLogin.

Save(ExternalLogin)

Saves the provider to the database.

public abstract void Save(ExternalLogin provider)

Parameters

provider ExternalLogin

SetCacheType<TObjectCache>()

Changes the storage container

public abstract void SetCacheType<TObjectCache>() where TObjectCache : ServiceCache<int, ExternalLogin>

Type Parameters

TObjectCache
To top