Digest Authentication

Ladder diagram

Client                   wrtc_kit           RTCgate           SIP server
   |                       |                   |                   |
 1 |--changeCredentials()->|                   |                   |
 2 |                       |-------Iam-------->|                   |
 3 |                       |                   |------register---->|
 4 |                       |                   |<--unauthorized----|
 5 |                       |<--unauthorised----|                   |
 6 |<---onAuthenticate()---|                   |                   |
 7 |                       |-------Iauth------>|                   |
 8 |                       |                   |---register+auth-->|
 9 |                       |                   |<-----200 OK-------|
10 |                       |<-----welcome------|                   |
11 |<-----onLoggedIn()-----|                   |                   |
12 |                       |<-----sipreg-------|                   |
13 |<-onSIPRegistration()--|                   |                   |

6: wrtc_kit raises a wrtc.onAuthenticate() event but usually no such event handler is defined by user. Then wrtc_kit calls line.authenticate() by itself.

ixnx/wrtc/rtcgate/digest_authentication.txt · Last modified: by tibor
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0