Extensions for io.ktor.http.auth.HttpAuthHeader.Parameterized

sign

fun Parameterized.sign(
    method: HttpMethod,
    baseUrl: String,
    key: String,
    parameters: List<Pair<String, String>>
): Parameterized

Sign an HTTP auth header

toDigestCredential

fun Parameterized.toDigestCredential(): DigestCredential

Converts HttpAuthHeader to DigestCredential