The next generation of the Teknik Services. Written in ASP.NET. Fork for blog tags.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

AuthToken.cs 545B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations.Schema;
  4. using System.Linq;
  5. using System.Web;
  6. using Teknik.Attributes;
  7. namespace Teknik.Areas.Users.Models
  8. {
  9. public class AuthToken
  10. {
  11. public int AuthTokenId { get; set; }
  12. public int UserId { get; set; }
  13. public virtual User User { get; set; }
  14. public string Name { get; set; }
  15. [CaseSensitive]
  16. public string HashedToken { get; set; }
  17. public DateTime LastDateUsed { get; set; }
  18. }
  19. }