Method | Description | |
---|---|---|
ReauthenticateCurrentPrincipal ( ) : bool |
Attempts to reauthenticate the current thread principal after their provider has been removed from the cache.
|
|
TryGetCachedProvider ( string username, ISecurityProvider &provider ) : bool |
Attempts to get cached ISecurityProvider for the given username.
|
Method | Description | |
---|---|---|
CacheMonitorTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void | ||
SecurityProviderCache ( ) : System | ||
SetupPrincipal ( ISecurityProvider provider, bool restore ) : ISecurityProvider | ||
ValidateCurrentProvider ( string username = null ) : void |
public static ReauthenticateCurrentPrincipal ( ) : bool | ||
return | bool |
public static TryGetCachedProvider ( string username, ISecurityProvider &provider ) : bool | ||
username | string | Name of the user. |
provider | ISecurityProvider | Security provider to return. |
return | bool |