Compartir a través de


AuthenticationOptions Class

 

Base Options for all authentication middleware

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

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Security.AuthenticationOptions
    Microsoft.Owin.Security.ActiveDirectory.ActiveDirectoryFederationServicesBearerAuthenticationOptions
    Microsoft.Owin.Security.ActiveDirectory.WindowsAzureActiveDirectoryBearerAuthenticationOptions
    Microsoft.Owin.Security.Cookies.CookieAuthenticationOptions
    Microsoft.Owin.Security.Facebook.FacebookAuthenticationOptions
    Microsoft.Owin.Security.Google.GoogleAuthenticationOptions
    Microsoft.Owin.Security.Google.GoogleOAuth2AuthenticationOptions
    Microsoft.Owin.Security.Jwt.JwtBearerAuthenticationOptions
    Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticationOptions
    Microsoft.Owin.Security.OAuth.OAuthAuthorizationServerOptions
    Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationOptions
    Microsoft.Owin.Security.OpenIdConnect.OpenIdConnectAuthenticationOptions
    Microsoft.Owin.Security.Twitter.TwitterAuthenticationOptions
    Microsoft.Owin.Security.WsFederation.WsFederationAuthenticationOptions

Syntax

public abstract class AuthenticationOptions
public ref class AuthenticationOptions abstract 
[<AbstractClass>]
type AuthenticationOptions = class end
Public MustInherit Class AuthenticationOptions

Constructors

Name Description
System_CAPS_protmethod AuthenticationOptions(String)

Initialize properties of AuthenticationOptions base class

Properties

Name Description
System_CAPS_pubproperty AuthenticationMode

If Active the authentication middleware alter the request user coming in and alter 401 Unauthorized responses going out. If Passive the authentication middleware will only provide identity and alter responses when explicitly indicated by the AuthenticationType.

System_CAPS_pubproperty AuthenticationType

The AuthenticationType in the options corresponds to the IIdentity AuthenticationType property. A different value may be assigned in order to use the same authentication middleware type more than once in a pipeline.

System_CAPS_pubproperty Description

Additional information about the authentication type which is made available to the application.

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 Namespace

Return to top