Class ExternalLoginService
- 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
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
keysIEnumerable<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
keyintKey to reset
Delete(int)
Deletes provider
public abstract void Delete(int id)
Parameters
idintIdentifier 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
idintProvider Id.
Returns
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
providerExternalLogin
SetCacheType<TObjectCache>()
Changes the storage container
public abstract void SetCacheType<TObjectCache>() where TObjectCache : ServiceCache<int, ExternalLogin>
Type Parameters
TObjectCache