makeDigestHeader

fun makeDigestHeader(username: String, password: String, uri: String, method: String, realm: String?, nonce: String?, qop: String = DEFAULT_AUTH_QOP): String

Create digest authentication header

Return

digest authentication header string

Parameters

username

User name

password

Password

uri

Requested uri

method

Request method. "GET" or "POST"

realm

realm of header field

nonce

nonce of header field

qop

qop of header field