|
SecurityProviderCacheCreateProvider(String, IPrincipal, Boolean, Boolean) Method
|
Namespace: GSF.SecurityAssembly: GSF.Security (in GSF.Security.dll) Version: 2.4.218-beta
Syntax static member CreateProvider :
username : string *
?passthroughPrincipal : IPrincipal *
?autoRefresh : bool *
?useAlternate : bool
(* Defaults:
let _passthroughPrincipal = defaultArg passthroughPrincipal null
let _autoRefresh = defaultArg autoRefresh true
let _useAlternate = defaultArg useAlternate false
*)
-> ISecurityProvider
GSF.Security.SecurityProviderCache.CreateProvider = function(username, passthroughPrincipal, autoRefresh, useAlternate);
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.
- useAlternate Boolean (Optional)
- Indicates whether the alternate ISecurityProvider should be used.
Return Value
ISecurityProviderA new provider initialized from cached data.
See Also