AuthenticationOptions.AuthenticationMode Property

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.

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

'Declaration
Public Property AuthenticationMode As AuthenticationMode 
	Get 
	Set
'Usage
Dim instance As AuthenticationOptions 
Dim value As AuthenticationMode 

value = instance.AuthenticationMode

instance.AuthenticationMode = value
Show: