org.http4k.security.digest.Qop.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http4k-security-digest Show documentation
Show all versions of http4k-security-digest Show documentation
Http4k Security Digest support
package org.http4k.security.digest
/**
* Quality-of-Protection describes the security level of the Authorization challenge
*/
enum class Qop(val value: String) {
AuthInt("auth-int"),
Auth("auth");
companion object {
fun from(value: String) = entries.firstOrNull { it.value == value }
}
}