Http Auth
data class HttpAuth(val url: String, val method: String, val payload: ByteString? = null, val nonce: String? = null, val tags: List<Tag> = listOfNotNull(
UrlTag(url),
MethodTag(method),
payload?.let(::PayloadTag),
nonce?.let(::NonceTag),
)) : EventContent
Authorization for one HTTP request to url with method. Event kind 27235, as defined in nip-98. payload is the SHA-256 hash of the request body. nonce makes otherwise identical authorizations distinct, for servers that refuse a replayed one.