Dela via


AuthenticateResult.Success(AuthenticationTicket) Method

Definition

Indicates that authentication was successful.

public:
 static Microsoft::AspNetCore::Authentication::AuthenticateResult ^ Success(Microsoft::AspNetCore::Authentication::AuthenticationTicket ^ ticket);
public static Microsoft.AspNetCore.Authentication.AuthenticateResult Success (Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket);
static member Success : Microsoft.AspNetCore.Authentication.AuthenticationTicket -> Microsoft.AspNetCore.Authentication.AuthenticateResult
Public Shared Function Success (ticket As AuthenticationTicket) As AuthenticateResult

Parameters

ticket
AuthenticationTicket

The ticket representing the authentication result.

Returns

The result.

Applies to