Jaa


AuthenticationMode Enumeration

 

Controls the behavior of authentication middleware

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

Syntax

public enum AuthenticationMode
public enum class AuthenticationMode
type AuthenticationMode
Public Enumeration 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

Microsoft.Owin.Security Namespace

Return to top