|
SecurityProviderCacheCreateProvider(String, IPrincipal, Boolean) Method
|
Namespace: GSF.SecurityAssembly: GSF.Security (in GSF.Security.dll) Version: 2.4.207-beta
Syntax member CreateProvider :
username : string *
?passthroughPrincipal : IPrincipal *
?autoRefresh : bool
(* Defaults:
let _passthroughPrincipal = defaultArg passthroughPrincipal null
let _autoRefresh = defaultArg autoRefresh true
*)
-> ISecurityProvider
function CreateProvider(username, passthroughPrincipal, autoRefresh);
View SourceParameters
- 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
ISecurityProviderA new provider initialized from cached data.
See Also