Show / Hide Table of Contents

Interface IPostAuthenticationPlugin

Namespace: SuperOffice.Security.Principal
Assembly: SoCore.dll
Syntax
public interface IPostAuthenticationPlugin : IPlugin

Methods

PostAuthenticateFail(SoPrincipal, IEnumerable<ClaimsIdentity>, Exception)

Method called after authentication fails

Declaration
bool PostAuthenticateFail(SoPrincipal principal, IEnumerable<ClaimsIdentity> identites, Exception ex)
Parameters
Type Name Description
SoPrincipal principal

Principal successfully authenticated

IEnumerable<ClaimsIdentity> identites
Exception ex

Exception thrown as part of the authentication process

Returns
Type Description
Boolean

Return true to continue passing the failed autjhentication back to the user or return false to re-authenticate.

PostAuthenticateSuccess(SoPrincipal, IEnumerable<ClaimsIdentity>)

Declaration
bool PostAuthenticateSuccess(SoPrincipal principal, IEnumerable<ClaimsIdentity> identites)
Parameters
Type Name Description
SoPrincipal principal
IEnumerable<ClaimsIdentity> identites
Returns
Type Description
Boolean

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top