// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Security.Claims; namespace Microsoft.AspNet.Security { /// /// Contains user identity information as well as additional authentication state. /// public class AuthenticationTicket { /// /// Initializes a new instance of the class /// /// /// public AuthenticationTicket(ClaimsIdentity identity, AuthenticationProperties properties) { Identity = identity; Properties = properties ?? new AuthenticationProperties(); } /// /// Gets the authenticated user identity. /// public ClaimsIdentity Identity { get; private set; } /// /// Additional state values for the authentication session. /// public AuthenticationProperties Properties { get; private set; } } }