AuthenticateResult.Fail AuthenticateResult.Fail AuthenticateResult.Fail AuthenticateResult.Fail AuthenticateResult.Fail AuthenticateResult.Fail Method

Definition

Overloads

Fail(Exception) Fail(Exception) Fail(Exception) Fail(Exception)

Indicates that there was a failure during authentication.

Fail(String) Fail(String) Fail(String) Fail(String) Fail(String) Fail(String)

Indicates that there was a failure during authentication.

Fail(Exception, AuthenticationProperties) Fail(Exception, AuthenticationProperties) Fail(Exception, AuthenticationProperties) Fail(Exception, AuthenticationProperties)

Indicates that there was a failure during authentication.

Fail(String, AuthenticationProperties) Fail(String, AuthenticationProperties) Fail(String, AuthenticationProperties) Fail(String, AuthenticationProperties) Fail(String, AuthenticationProperties)

Indicates that there was a failure during authentication.

Fail(Exception) Fail(Exception) Fail(Exception) Fail(Exception)

Indicates that there was a failure during authentication.

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
Parameters
failure
Exception Exception Exception Exception Exception Exception

The failure exception.

Returns

Fail(String) Fail(String) Fail(String) Fail(String) Fail(String) Fail(String)

Indicates that there was a failure during authentication.

public:
 static Microsoft::AspNetCore::Authentication::AuthenticateResult ^ Fail(System::String ^ failureMessage);
public:
 static Microsoft::AspNetCore::Authentication::AuthenticateResult ^ Fail(Platform::String ^ failureMessage);
 static Microsoft::AspNetCore::Authentication::AuthenticateResult Fail(std::wstring const & 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
Parameters
failureMessage
String String String String String String

The failure message.

Returns

Fail(Exception, AuthenticationProperties) Fail(Exception, AuthenticationProperties) Fail(Exception, AuthenticationProperties) Fail(Exception, AuthenticationProperties)

Indicates that there was a failure during authentication.

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
Parameters
failure
Exception Exception Exception Exception Exception Exception

The failure exception.

Returns

Fail(String, AuthenticationProperties) Fail(String, AuthenticationProperties) Fail(String, AuthenticationProperties) Fail(String, AuthenticationProperties) Fail(String, AuthenticationProperties)

Indicates that there was a failure during authentication.

public:
 static Microsoft::AspNetCore::Authentication::AuthenticateResult ^ Fail(System::String ^ failureMessage, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
 static Microsoft::AspNetCore::Authentication::AuthenticateResult Fail(std::wstring const & failureMessage, Microsoft::AspNetCore::Authentication::AuthenticationProperties const & 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
Parameters
failureMessage
String String String String String String

The failure message.

Returns

Applies to