Partager via


AuthenticateResult.Fail Méthode

Définition

Surcharges

Fail(Exception)

Indique qu’il y a eu un échec lors de l’authentification.

Fail(String)

Indique qu’il y a eu un échec lors de l’authentification.

Fail(Exception, AuthenticationProperties)

Indique qu’il y a eu un échec lors de l’authentification.

Fail(String, AuthenticationProperties)

Indique qu’il y a eu un échec lors de l’authentification.

Fail(Exception)

Source:
AuthenticateResult.cs
Source:
AuthenticateResult.cs
Source:
AuthenticateResult.cs

Indique qu’il y a eu un échec lors de l’authentification.

public:
 static Microsoft::AspNetCore::Authentication::AuthenticateResult ^ Fail(Exception ^ failure);
public static Microsoft.AspNetCore.Authentication.AuthenticateResult Fail (Exception failure);
static member Fail : Exception -> Microsoft.AspNetCore.Authentication.AuthenticateResult
Public Shared Function Fail (failure As Exception) As AuthenticateResult

Paramètres

failure
Exception

Exception d’échec.

Retours

Résultat.

S’applique à

Fail(String)

Source:
AuthenticateResult.cs
Source:
AuthenticateResult.cs
Source:
AuthenticateResult.cs

Indique qu’il y a eu un échec lors de l’authentification.

public:
 static Microsoft::AspNetCore::Authentication::AuthenticateResult ^ Fail(System::String ^ failureMessage);
public static Microsoft.AspNetCore.Authentication.AuthenticateResult Fail (string failureMessage);
static member Fail : string -> Microsoft.AspNetCore.Authentication.AuthenticateResult
Public Shared Function Fail (failureMessage As String) As AuthenticateResult

Paramètres

failureMessage
String

Message d’échec.

Retours

Résultat.

S’applique à

Fail(Exception, AuthenticationProperties)

Source:
AuthenticateResult.cs
Source:
AuthenticateResult.cs
Source:
AuthenticateResult.cs

Indique qu’il y a eu un échec lors de l’authentification.

public:
 static Microsoft::AspNetCore::Authentication::AuthenticateResult ^ Fail(Exception ^ failure, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public static Microsoft.AspNetCore.Authentication.AuthenticateResult Fail (Exception failure, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public static Microsoft.AspNetCore.Authentication.AuthenticateResult Fail (Exception failure, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
static member Fail : Exception * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Authentication.AuthenticateResult
Public Shared Function Fail (failure As Exception, properties As AuthenticationProperties) As AuthenticateResult

Paramètres

failure
Exception

Exception d’échec.

properties
AuthenticationProperties

Valeurs d'état supplémentaires pour la session d'authentification.

Retours

Résultat.

S’applique à

Fail(String, AuthenticationProperties)

Source:
AuthenticateResult.cs
Source:
AuthenticateResult.cs
Source:
AuthenticateResult.cs

Indique qu’il y a eu un échec lors de l’authentification.

public:
 static Microsoft::AspNetCore::Authentication::AuthenticateResult ^ Fail(System::String ^ failureMessage, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public static Microsoft.AspNetCore.Authentication.AuthenticateResult Fail (string failureMessage, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public static Microsoft.AspNetCore.Authentication.AuthenticateResult Fail (string failureMessage, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
static member Fail : string * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Authentication.AuthenticateResult
Public Shared Function Fail (failureMessage As String, properties As AuthenticationProperties) As AuthenticateResult

Paramètres

failureMessage
String

Message d’échec.

properties
AuthenticationProperties

Valeurs d'état supplémentaires pour la session d'authentification.

Retours

Résultat.

S’applique à