NegotiateEvents Class

Definition

Specifies events which the NegotiateHandler invokes to enable developer control over the authentication process.

public ref class NegotiateEvents
public class NegotiateEvents
type NegotiateEvents = class
Public Class NegotiateEvents
Inheritance
NegotiateEvents

Constructors

NegotiateEvents()

Properties

OnAuthenticated

Invoked after the authentication is complete and a ClaimsIdentity has been generated.

OnAuthenticationFailed

Invoked if exceptions are thrown during request processing. The exceptions will be re-thrown after this event unless suppressed.

OnChallenge

Invoked before a challenge is sent back to the caller.

OnRetrieveLdapClaims

Invoked after the authentication before ClaimsIdentity is populated with claims retrieved through the LDAP connection. This event is invoked when EnableLdapClaimResolution is set to true on LdapSettings.

Methods

Authenticated(AuthenticatedContext)

Invoked after the authentication is complete and a ClaimsIdentity has been generated.

AuthenticationFailed(AuthenticationFailedContext)

Invoked if exceptions are thrown during request processing. The exceptions will be re-thrown after this event unless suppressed.

Challenge(ChallengeContext)

Invoked before a challenge is sent back to the caller.

RetrieveLdapClaims(LdapContext)

Invoked after the authentication before ClaimsIdentity is populated with claims retrieved through the LDAP connection.

Applies to