// 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.AspNetCore.Identity.EntityFrameworkCore
{
///
/// Represents an authentication token for a user.
///
/// The type of the primary key used for users.
public class IdentityUserToken where TKey : IEquatable
{
///
/// Gets or sets the primary key of the user that the token belongs to.
///
public virtual TKey UserId { get; set; }
///
/// Gets or sets the LoginProvider this token is from.
///
public virtual string LoginProvider { get; set; }
///
/// Gets or sets the name of the token.
///
public virtual string Name { get; set; }
///
/// Gets or sets the token value.
///
public virtual string Value { get; set; }
}
}