Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AuthenticationMode Enumeration

 

Controls the behavior of authentication middleware

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

public enum class AuthenticationMode

Member nameDescription
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.

Return to top
Show: