The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AuthToken.cs 546B

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. }