Click or drag to resize

SecurityProviderCacheCreateProvider(String, IPrincipal, Boolean) Method

Creates a new provider from data cached by the SecurityProviderCache.

Namespace: GSF.Security
Assembly: GSF.Security (in GSF.Security.dll) Version: 2.4.207-beta
Syntax
public ISecurityProvider CreateProvider(
	string username,
	IPrincipal passthroughPrincipal = null,
	bool autoRefresh = true
)
View Source

Parameters

username  String
The username of the user for which to create a new provider.
passthroughPrincipal  IPrincipal  (Optional)
IPrincipal obtained through alternative authentication mechanisms to provide authentication for the ISecurityProvider.
autoRefresh  Boolean  (Optional)
Indicates whether the provider should be automatically refreshed on a timer.

Return Value

ISecurityProvider
A new provider initialized from cached data.
See Also