Click or drag to resize

SecurityProviderCache Class

A helper class that manages the caching of ISecurityProviders.
Inheritance Hierarchy
SystemObject
  GSF.SecuritySecurityProviderCache

Namespace: GSF.Security
Assembly: GSF.Security (in GSF.Security.dll) Version: 2.4.207-beta
Syntax
public class SecurityProviderCache
View Source

The SecurityProviderCache type exposes the following members.

Constructors
 NameDescription
Public methodSecurityProviderCache Creates a new SecurityProviderCache.
Top
Methods
 NameDescription
Public methodAutoRefresh(ISecurityProvider) Adds the given provider to the collection of providers being automatically refreshed on the user cache timeout interval.
Public methodStatic memberAutoRefresh(ISecurityProvider, Boolean) Adds the given provider to the collection of providers being automatically refreshed on the user cache timeout interval.
Public methodCreateProvider(String, IPrincipal, Boolean) Creates a new provider from data cached by the SecurityProviderCache.
Public methodStatic memberCreateProvider(String, IPrincipal, Boolean, Boolean) Creates a new provider from data cached by the SecurityProviderCache.
Public methodDisableAutoRefresh(ISecurityProvider) Removes the given provider from the collection of providers being automatically refreshed.
Public methodStatic memberDisableAutoRefresh(ISecurityProvider, Boolean) Removes the given provider from the collection of providers being automatically refreshed.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFlush(String) Removes any cached information about the user with the given username.
Public methodStatic memberFlush(String, Boolean) Removes any cached information about the user with the given username.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRefreshAll Forces all cached providers to refresh state.
Public methodStatic memberRefreshAll(Boolean) Forces all cached providers to refresh state.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberDefaultAlternateSettingsCategory Specifies the default value for the SettingsCategory property for the AlternateSecurityProvider.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also