Propriété AuthenticationOptions.AuthenticationMode
Si actif, l'intergiciel (middleware) de l'authentification modifie la demande d'utilisateur entrante et modifie les réponses non autorisées 401 sortantes. Si passif, l'intergiciel (middleware) de l'authentification fournit l'identité et modifie les réponses uniquement quand cela est indiqué de manière explicite par l'AuthenticationType.
Espace de noms : Microsoft.Owin.Security
Assembly : Microsoft.Owin.Security (en Microsoft.Owin.Security.dll)
Syntaxe
'Déclaration
Public Property AuthenticationMode As AuthenticationMode
Get
Set
'Utilisation
Dim instance As AuthenticationOptions
Dim value As AuthenticationMode
value = instance.AuthenticationMode
instance.AuthenticationMode = value
public AuthenticationMode AuthenticationMode { get; set; }
public:
property AuthenticationMode AuthenticationMode {
AuthenticationMode get ();
void set (AuthenticationMode value);
}
member AuthenticationMode : AuthenticationMode with get, set
function get AuthenticationMode () : AuthenticationMode
function set AuthenticationMode (value : AuthenticationMode)
Valeur de propriété
Type : Microsoft.Owin.Security.AuthenticationMode
Mode d'authentification.