Share via


AuthenticationOptions Class

Base Options for all authentication middleware.

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Security.AuthenticationOptions
    More...

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

Syntax

'Declaration
Public MustInherit Class AuthenticationOptions
'Usage
Dim instance As AuthenticationOptions
public abstract class AuthenticationOptions
public ref class AuthenticationOptions abstract
[<AbstractClassAttribute>]
type AuthenticationOptions =  class end
public abstract class AuthenticationOptions

The AuthenticationOptions type exposes the following members.

Constructors

  Name Description
Protected method AuthenticationOptions Initialize properties of AuthenticationOptions base class.

Top

Properties

  Name Description
Public property 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.
Public property 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.
Public property Description Additional information about the authentication type which is made available to the application.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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

Reference

Microsoft.Owin.Security Namespace

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.Jwt.JwtBearerAuthenticationOptions
    Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticationOptions
    Microsoft.Owin.Security.OAuth.OAuthAuthorizationServerOptions
    Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationOptions
    Microsoft.Owin.Security.Twitter.TwitterAuthenticationOptions