CirceSensitiveDataEntityDecoder

org.http4s.circe.CirceSensitiveDataEntityDecoder
See theCirceSensitiveDataEntityDecoder companion object

Derive EntityDecoder if implicit io.circe.Decoder is in the scope without need to explicitly call jsonOfSensitive

Note that it varies from CirceEntityDecoder in that, when failing to decode io.circe.Json to an A, the JSON will not be included in the raised java.lang.Exception. In the event the JSON includes sensitive data, this trait is, arguably, a better choice since it eliminates the risk of logging sensitive data, e.g. due to logging a raised java.lang.Throwable that includes the sensitive JSON.

Attributes

Companion
object
Source
CirceSensitiveDataEntityDecoder.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Implicits

Implicits

implicit def circeEntityDecoder[F[_] : Concurrent, A : Decoder]: EntityDecoder[F, A]