Class PrincipalStatePostAuthenticationPlugin
Inheritance
PrincipalStatePostAuthenticationPlugin
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[PostAuthenticationPlugin("PrincipalStatePostAuthenticationPlugin")]
public class PrincipalStatePostAuthenticationPlugin : IPostAuthenticationPlugin
Constructors
PrincipalStatePostAuthenticationPlugin(ICacheManager)
Declaration
public PrincipalStatePostAuthenticationPlugin(ICacheManager cacheManager)
Parameters
Methods
PostAuthenticateFail(ClaimsPrincipal, IEnumerable<ClaimsIdentity>, Exception)
Method called after authentication fails
Declaration
public bool PostAuthenticateFail(ClaimsPrincipal principal, IEnumerable<ClaimsIdentity> identites, Exception ex)
Parameters
Returns
| Type |
Description |
| bool |
Return true to continue passing the failed autjhentication back to the user or return false to re-authenticate.
|
PostAuthenticateSuccess(ClaimsPrincipal, IEnumerable<ClaimsIdentity>)
Declaration
public bool PostAuthenticateSuccess(ClaimsPrincipal principal, IEnumerable<ClaimsIdentity> identites)
Parameters
Returns
Implements
Extension Methods