共用方式為


OpenIdConnectAuthenticationNotifications Class

 

Specifies events which the OpenIdConnectAuthenticationMiddleware invokes to enable developer control over the authentication process. />

Namespace:   Microsoft.Owin.Security.OpenIdConnect
Assembly:  Microsoft.Owin.Security.OpenIdConnect (in Microsoft.Owin.Security.OpenIdConnect.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Security.OpenIdConnect.OpenIdConnectAuthenticationNotifications

Syntax

public class OpenIdConnectAuthenticationNotifications
public ref class OpenIdConnectAuthenticationNotifications 
type OpenIdConnectAuthenticationNotifications = class end
Public Class OpenIdConnectAuthenticationNotifications

Constructors

Name Description
System_CAPS_pubmethod OpenIdConnectAuthenticationNotifications()

Creates a new set of notifications. Each notification has a default no-op behavior unless otherwise documented.

Properties

Name Description
System_CAPS_pubproperty AuthenticationFailed

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

System_CAPS_pubproperty AuthorizationCodeReceived

Invoked after security token validation if an authorization code is present in the protocol message.

System_CAPS_pubproperty MessageReceived

Invoked when a protocol message is first received.

System_CAPS_pubproperty RedirectToIdentityProvider

Invoked to manipulate redirects to the identity provider for SignIn, SignOut, or Challenge.

System_CAPS_pubproperty SecurityTokenReceived

Invoked with the security token that has been extracted from the protocol message.

System_CAPS_pubproperty SecurityTokenValidated

Invoked after the security token has passed validation and a ClaimsIdentity has been generated.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Owin.Security.OpenIdConnect Namespace

Return to top