웹 사이트는 쿠키를 사용한 세션 인증, 모바일 앱, SPA은 헤더와 함께 토큰 인증을 사용한다는 관념이 있다. 두 방법 모두 취약점이 있고, 사용자 요구, 응용 프로그램에 더 적합한 방법을 선택하는 것이 좋다.장점과 단점1\. Session의 경우 Token과 비교했을
우선 좌측 상단 New 버튼을 클릭합니다.Environment 클릭합니다.활용된 Token 명을 VARIABLE에 적어줍니다.Workspace Tests 항목에 아래 명령어를 붙여넣어 줍니다.API 입력 후 로그인하여 토큰을 발행받습니다.아래 사진 Method가 GET
Why use Token authentication? Session authentication is cost by the server, while token authentication is cost by the client. What is Token? It is ea
Process that uses a pair of related keys one public key and one private key to encrypt and decrypt a message and protect it from unauthorized