// 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; namespace Microsoft.AspNet.Identity.EntityFramework { /// /// Represents a login and its associated provider for a user. /// /// The type of the primary key of the user associated with this login. public class IdentityUserLogin where TKey : IEquatable { /// /// Gets or sets the login provider for the login (e.g. facebook, google) /// public virtual string LoginProvider { get; set; } /// /// Gets or sets the unique provider identifier for this login. /// public virtual string ProviderKey { get; set; } /// /// Gets or sets the friendly name used in a UI for this login. /// public virtual string ProviderDisplayName { get; set; } /// /// Gets or sets the of the primary key of the user associated with this login. /// public virtual TKey UserId { get; set; } } }