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 | |
---|---|---|
AuthenticationOptions(String) | Initialize properties of AuthenticationOptions base class |
Properties
Name | Description | |
---|---|---|
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. |
|
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. |
|
Description | Additional information about the authentication type which is made available to the application. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
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