Share via


WsFederationAuthenticationHandler Class

 

A per-request authentication handler for the WsFederationAuthenticationMiddleware.

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

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Security.Infrastructure.AuthenticationHandler
    Microsoft.Owin.Security.Infrastructure.AuthenticationHandler<TOptions>
      Microsoft.Owin.Security.WsFederation.WsFederationAuthenticationHandler

Syntax

public class WsFederationAuthenticationHandler : AuthenticationHandler<WsFederationAuthenticationOptions>
public ref class WsFederationAuthenticationHandler : AuthenticationHandler<WsFederationAuthenticationOptions^>
type WsFederationAuthenticationHandler = 
    class
        inherit AuthenticationHandler<WsFederationAuthenticationOptions>
    end
Public Class WsFederationAuthenticationHandler
    Inherits AuthenticationHandler(Of WsFederationAuthenticationOptions)

Constructors

Name Description
System_CAPS_pubmethod WsFederationAuthenticationHandler(ILogger)

Creates a new WsFederationAuthenticationHandler

Properties

Name Description
System_CAPS_protproperty Context

(Inherited from AuthenticationHandler.)

System_CAPS_protproperty Faulted

(Inherited from AuthenticationHandler.)

System_CAPS_protproperty Helper

(Inherited from AuthenticationHandler.)

System_CAPS_protproperty Options

(Inherited from AuthenticationHandler<TOptions>.)

System_CAPS_protproperty Request

(Inherited from AuthenticationHandler.)

System_CAPS_protproperty RequestPathBase

(Inherited from AuthenticationHandler.)

System_CAPS_protproperty Response

(Inherited from AuthenticationHandler.)

Methods

Name Description
System_CAPS_protmethod ApplyResponseChallengeAsync()

Handles Challenge(Overrides AuthenticationHandler.ApplyResponseChallengeAsync().)

System_CAPS_protmethod ApplyResponseCoreAsync()

Core method that may be overridden by handler. The default behavior is to call two common response activities, one that deals with sign-in/sign-out concerns, and a second to deal with 401 challenges.(Inherited from AuthenticationHandler.)

System_CAPS_protmethod ApplyResponseGrantAsync()

Handles Signout(Overrides AuthenticationHandler.ApplyResponseGrantAsync().)

System_CAPS_pubmethod AuthenticateAsync()

Causes the authentication logic in AuthenticateCore to be performed for the current request at most once and returns the results. Calling Authenticate more than once will always return the original value. This method should always be called instead of calling AuthenticateCore directly.(Inherited from AuthenticationHandler.)

System_CAPS_protmethod AuthenticateCoreAsync()

Invoked to process incoming authentication messages.(Overrides AuthenticationHandler.AuthenticateCoreAsync().)

System_CAPS_protmethod BaseInitializeAsync(AuthenticationOptions, IOwinContext)

(Inherited from AuthenticationHandler.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_protmethod GenerateCorrelationId(AuthenticationProperties)

(Inherited from AuthenticationHandler.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod InitializeCoreAsync()

(Inherited from AuthenticationHandler.)

System_CAPS_pubmethod InvokeAsync()

Invoked to detect and process incoming authentication requests.(Overrides AuthenticationHandler.InvokeAsync().)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod TeardownCoreAsync()

(Inherited from AuthenticationHandler.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_protmethod ValidateCorrelationId(AuthenticationProperties, ILogger)

(Inherited from AuthenticationHandler.)

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.WsFederation Namespace

Return to top