AuthenticationMode Enumeration

Controls the behavior of authentication middleware.

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

Syntax

'Declaration
Public Enumeration AuthenticationMode
'Usage
Dim instance As AuthenticationMode
public enum AuthenticationMode
public enum class AuthenticationMode
type AuthenticationMode
public enum AuthenticationMode

Members

Member name Description
Active In Active mode the authentication middleware will alter the user identity as the request arrives, and will also alter a plain 401 as the response leaves.

Passive In Passive mode the authentication middleware will only provide user identity when asked, and will only alter 401 responses where the authentication type named in the extra challenge data.

See Also

Reference

Microsoft.Owin.Security Namespace