되는 인증요구와, Authorization 헤더에 담겨 전달되는 인가 응답을 포함한다. 다이
제스트 인증은 여기에 선택적인 Authentication-Info 헤더를 추가했다. 이 헤더는 3
단계 핸드셰이크를 완성하고 다음번 사용할 난스를 전달하기 위해 인증 성공 후에
전송된다. 기본 및 다이제스트 인증에서 사용되는 헤더들은 표 13-8에 나타나 있다.
단계기본 인증다이제스트 인증
인증요구
WWW-Authenticate: Basic
realm="<
영역 값
>"
WWW-Authenticate: Digest
realm="<
영역 값
>"
nonce="<
난스 값
>"
[domain="<URI
목록
>"]
[opaque="<
불투명토큰 값
>"]
[stale=<
예 혹은아니오
>]
[algorithm=<
요약알고리즘
>]
[qop="<qop
값의목록
>"]
[<extension directive>]
응답
Authorization: Basic
<base64(user:pass)>
Authorization: Digest
username="<
사용자이름
>"
realm="<
영역 값
>"
nonce="<
난스 값
>"
uri=<
요청
uri>
response="<16
진수
32
자리요약
>"
[algorithm=<
요약알고리즘
>]
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.