|
28
|
26987
|
693
-
706
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.user.social.models.oidc.UserInfo]({
val inst$macro$24: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.social.models.oidc.UserInfo] = {
final class anon$lazy$macro$23 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$23 = {
anon$lazy$macro$23.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.social.models.oidc.UserInfo] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.user.social.models.oidc.UserInfo, shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("externalUserId"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("iat"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.user.social.models.oidc.UserInfo, (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("externalUserId")) :: (Symbol @@ String("iat")) :: (Symbol @@ String("exp")) :: shapeless.HNil, String :: Option[String] :: Option[String] :: Long :: Long :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("externalUserId"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("iat"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.user.social.models.oidc.UserInfo, (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("externalUserId")) :: (Symbol @@ String("iat")) :: (Symbol @@ String("exp")) :: shapeless.HNil](::.apply[Symbol @@ String("email"), (Symbol @@ String("firstName")) :: (Symbol @@ String("externalUserId")) :: (Symbol @@ String("iat")) :: (Symbol @@ String("exp")) :: shapeless.HNil.type](scala.Symbol.apply("email").asInstanceOf[Symbol @@ String("email")], ::.apply[Symbol @@ String("firstName"), (Symbol @@ String("externalUserId")) :: (Symbol @@ String("iat")) :: (Symbol @@ String("exp")) :: shapeless.HNil.type](scala.Symbol.apply("firstName").asInstanceOf[Symbol @@ String("firstName")], ::.apply[Symbol @@ String("externalUserId"), (Symbol @@ String("iat")) :: (Symbol @@ String("exp")) :: shapeless.HNil.type](scala.Symbol.apply("externalUserId").asInstanceOf[Symbol @@ String("externalUserId")], ::.apply[Symbol @@ String("iat"), (Symbol @@ String("exp")) :: shapeless.HNil.type](scala.Symbol.apply("iat").asInstanceOf[Symbol @@ String("iat")], ::.apply[Symbol @@ String("exp"), shapeless.HNil.type](scala.Symbol.apply("exp").asInstanceOf[Symbol @@ String("exp")], HNil)))))), Generic.instance[org.make.api.user.social.models.oidc.UserInfo, String :: Option[String] :: Option[String] :: Long :: Long :: shapeless.HNil](((x0$3: org.make.api.user.social.models.oidc.UserInfo) => x0$3 match {
case (email: String, firstName: Option[String], externalUserId: Option[String], iat: Long, exp: Long): org.make.api.user.social.models.oidc.UserInfo((email$macro$17 @ _), (firstName$macro$18 @ _), (externalUserId$macro$19 @ _), (iat$macro$20 @ _), (exp$macro$21 @ _)) => ::.apply[String, Option[String] :: Option[String] :: Long :: Long :: shapeless.HNil.type](email$macro$17, ::.apply[Option[String], Option[String] :: Long :: Long :: shapeless.HNil.type](firstName$macro$18, ::.apply[Option[String], Long :: Long :: shapeless.HNil.type](externalUserId$macro$19, ::.apply[Long, Long :: shapeless.HNil.type](iat$macro$20, ::.apply[Long, shapeless.HNil.type](exp$macro$21, HNil))))).asInstanceOf[String :: Option[String] :: Option[String] :: Long :: Long :: shapeless.HNil]
}), ((x0$4: String :: Option[String] :: Option[String] :: Long :: Long :: shapeless.HNil) => x0$4 match {
case (head: String, tail: Option[String] :: Option[String] :: Long :: Long :: shapeless.HNil): String :: Option[String] :: Option[String] :: Long :: Long :: shapeless.HNil((email$macro$12 @ _), (head: Option[String], tail: Option[String] :: Long :: Long :: shapeless.HNil): Option[String] :: Option[String] :: Long :: Long :: shapeless.HNil((firstName$macro$13 @ _), (head: Option[String], tail: Long :: Long :: shapeless.HNil): Option[String] :: Long :: Long :: shapeless.HNil((externalUserId$macro$14 @ _), (head: Long, tail: Long :: shapeless.HNil): Long :: Long :: shapeless.HNil((iat$macro$15 @ _), (head: Long, tail: shapeless.HNil): Long :: shapeless.HNil((exp$macro$16 @ _), HNil))))) => oidc.this.UserInfo.apply(email$macro$12, firstName$macro$13, externalUserId$macro$14, iat$macro$15, exp$macro$16)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("email"), String, (Symbol @@ String("firstName")) :: (Symbol @@ String("externalUserId")) :: (Symbol @@ String("iat")) :: (Symbol @@ String("exp")) :: shapeless.HNil, Option[String] :: Option[String] :: Long :: Long :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("externalUserId"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("iat"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("firstName"), Option[String], (Symbol @@ String("externalUserId")) :: (Symbol @@ String("iat")) :: (Symbol @@ String("exp")) :: shapeless.HNil, Option[String] :: Long :: Long :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("externalUserId"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("iat"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("externalUserId"), Option[String], (Symbol @@ String("iat")) :: (Symbol @@ String("exp")) :: shapeless.HNil, Long :: Long :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("iat"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("iat"), Long, (Symbol @@ String("exp")) :: shapeless.HNil, Long :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("exp"), Long, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("exp")]](scala.Symbol.apply("exp").asInstanceOf[Symbol @@ String("exp")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("exp")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("iat")]](scala.Symbol.apply("iat").asInstanceOf[Symbol @@ String("iat")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("iat")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("externalUserId")]](scala.Symbol.apply("externalUserId").asInstanceOf[Symbol @@ String("externalUserId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("externalUserId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("firstName")]](scala.Symbol.apply("firstName").asInstanceOf[Symbol @@ String("firstName")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("firstName")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("email")]](scala.Symbol.apply("email").asInstanceOf[Symbol @@ String("email")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("email")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("externalUserId"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("iat"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("externalUserId"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("iat"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$23.this.inst$macro$22)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.social.models.oidc.UserInfo]];
<stable> <accessor> lazy val inst$macro$22: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("externalUserId"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("iat"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("externalUserId"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("iat"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("externalUserId"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("iat"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForemail: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
private[this] val circeGenericDecoderForexternalUserId: io.circe.Decoder[Option[String]] = circe.this.Decoder.decodeOption[String](circe.this.Decoder.decodeString);
private[this] val circeGenericDecoderForexp: io.circe.Decoder[Long] = circe.this.Decoder.decodeLong;
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("externalUserId"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("iat"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("email"), String, shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("externalUserId"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("iat"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForemail.tryDecode(c.downField("email")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("firstName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("externalUserId"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("iat"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForexternalUserId.tryDecode(c.downField("firstName")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("externalUserId"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("iat"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForexternalUserId.tryDecode(c.downField("externalUserId")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("iat"), Long, shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForexp.tryDecode(c.downField("iat")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("exp"), Long, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForexp.tryDecode(c.downField("exp")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("externalUserId"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("iat"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("email"), String, shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("externalUserId"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("iat"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForemail.tryDecodeAccumulating(c.downField("email")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("firstName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("externalUserId"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("iat"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForexternalUserId.tryDecodeAccumulating(c.downField("firstName")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("externalUserId"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("iat"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForexternalUserId.tryDecodeAccumulating(c.downField("externalUserId")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("iat"), Long, shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForexp.tryDecodeAccumulating(c.downField("iat")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("exp"), Long, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForexp.tryDecodeAccumulating(c.downField("exp")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("externalUserId"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("iat"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("externalUserId"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("iat"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("exp"),Long] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$23().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.social.models.oidc.UserInfo]](inst$macro$24)
})
|