Dela via


HandleRequestResult Class

Definition

Contains the result of an Authenticate call

public ref class HandleRequestResult : Microsoft::AspNetCore::Authentication::AuthenticateResult
public class HandleRequestResult : Microsoft.AspNetCore.Authentication.AuthenticateResult
type HandleRequestResult = class
    inherit AuthenticateResult
Public Class HandleRequestResult
Inherits AuthenticateResult
Inheritance
HandleRequestResult

Constructors

HandleRequestResult()

Properties

Failure

Holds failure information from the authentication.

(Inherited from AuthenticateResult)
Handled

Indicates that stage of authentication was directly handled by user intervention and no further processing should be attempted.

None

Indicates that there was no information returned for this authentication scheme.

(Inherited from AuthenticateResult)
Principal

Gets the claims-principal with authenticated user identities.

(Inherited from AuthenticateResult)
Properties

Additional state values for the authentication session.

(Inherited from AuthenticateResult)
Skipped

Indicates that the default authentication logic should be skipped and that the rest of the pipeline should be invoked.

Succeeded

If a ticket was produced, authenticate was successful.

(Inherited from AuthenticateResult)
Ticket

The authentication ticket.

(Inherited from AuthenticateResult)

Methods

Clone()

Create a new deep copy of the result

(Inherited from AuthenticateResult)
Fail(Exception, AuthenticationProperties)

Indicates that there was a failure during authentication.

Fail(Exception)

Indicates that there was a failure during authentication.

Fail(String, AuthenticationProperties)

Indicates that there was a failure during authentication.

Fail(String)

Indicates that there was a failure during authentication.

Handle()

Discontinue all processing for this request and return to the client. The caller is responsible for generating the full response.

NoResult()

Indicates that there were no results produced during authentication.

SkipHandler()

Discontinue processing the request in the current handler.

Success(AuthenticationTicket)

Indicates that authentication was successful.

Applies to