Skip to content

Instantly share code, notes, and snippets.

@gsedubun
Created June 3, 2019 10:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gsedubun/7780e1cf353ac376bfb60f106caaacdc to your computer and use it in GitHub Desktop.
Save gsedubun/7780e1cf353ac376bfb60f106caaacdc to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace netcore_id_jwt.Model
{
public class Kunci
{
public const string Aman = "Oke09inirahasia55663";
}
public class UserData
{
private string token;
public string Username { get; set; }
public string Password { get; set; }
public void SetToken(string _t)
{
token = _t;
}
public string Token { get => token; private set => token = value; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment