Click or drag to resize

SecurityProviderUtilityCreateProvider(String, IPrincipal, String) Method

Creates a new ISecurityProvider based on the settings in the config file.

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

Parameters

username  String
Username of the user for whom the ISecurityProvider is to be created.
passthroughPrincipal  IPrincipal
IPrincipal obtained through alternative authentication mechanisms to provide authentication for the ISecurityProvider.
settingsCategory  String  (Optional)
The category used to store configuration settings for the provider.

Return Value

ISecurityProvider
An object that implements ISecurityProvider.
See Also