Ejemplo n.º 1
0
        public IActionResult Register([FromBody] SignBase sign)
        {
            //[!] 회원 가입 소스 들어오는 곳
            RegisterProcess(sign);

            //[!] 토큰 생성하기 코드 들어오는 곳
            var jst = new JwtSecurityToken();

            return(Ok(new JwtSecurityTokenHandler().WriteToken(jst)));
        }
Ejemplo n.º 2
0
 private void RegisterProcess(SignBase sign)
 {
     //[!] 회원 가입 소스 들어오는 곳
 }