// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Security.Claims;
using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNetCore.Authentication
{
///
/// Provides context information to handler providers.
///
public class TicketReceivedContext : RemoteAuthenticationContext
{
public TicketReceivedContext(
HttpContext context,
AuthenticationScheme scheme,
RemoteAuthenticationOptions options,
AuthenticationTicket ticket)
: base(context, scheme, options, ticket?.Properties)
=> Principal = ticket?.Principal;
public string ReturnUri { get; set; }
}
}