1 /*
2  *  Make.org Core API
3  *  Copyright (C) 2018 Make.org
4  *
5  * This program is free software: you can redistribute it and/or modify
6  *  it under the terms of the GNU Affero General Public License as
7  *  published by the Free Software Foundation, either version 3 of the
8  *  License, or (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU Affero General Public License for more details.
14  *
15  *  You should have received a copy of the GNU Affero General Public License
16  *  along with this program.  If not, see <https://www.gnu.org/licenses/>.
17  *
18  */
19 
20 package org.make.api.technical.security
21 
22 import akka.http.scaladsl.model.StatusCodes
23 import akka.http.scaladsl.server.{Directives, Route}
24 import io.circe.generic.semiauto.{deriveDecoder, deriveEncoder}
25 import io.circe.{Decoder, Encoder}
26 import io.swagger.annotations._
27 import org.make.api.operation.OperationServiceComponent
28 import org.make.api.question.QuestionServiceComponent
29 
30 import javax.ws.rs.Path
31 import org.make.api.technical.MakeDirectives.MakeDirectivesDependencies
32 import org.make.api.technical.{ActorSystemComponent, EndpointType, MakeAuthenticationDirectives}
33 import org.make.core.HttpCodes
34 import org.make.core.auth.UserRights
35 import scalaoauth2.provider.AuthInfo
36 
37 @Api(value = "Security")
38 @Path(value = "/")
39 trait SecurityApi extends Directives {
40 
41   @Path(value = "/admin/security/secure-hash")
42   @ApiOperation(
43     value = "create-secure-hash",
44     httpMethod = "POST",
45     code = HttpCodes.OK,
46     authorizations = Array(
47       new Authorization(
48         value = "MakeApi",
49         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
50       )
51     )
52   )
53   @ApiResponses(
54     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[SecureHashResponse]))
55   )
56   @ApiImplicitParams(
57     value = Array(
58       new ApiImplicitParam(
59         value = "body",
60         paramType = "body",
61         dataType = "org.make.api.technical.security.CreateSecureHashRequest"
62       )
63     )
64   )
65   def adminCreateSecureHash: Route
66 
67   @Path(value = "/security/secure-hash")
68   @ApiOperation(value = "validate-secure-hash", httpMethod = "POST", code = HttpCodes.NoContent)
69   @ApiResponses(value = Array(new ApiResponse(code = HttpCodes.NoContent, message = "No Content")))
70   @ApiImplicitParams(
71     value = Array(
72       new ApiImplicitParam(
73         value = "body",
74         paramType = "body",
75         dataType = "org.make.api.technical.security.ValidateSecureHashRequest"
76       )
77     )
78   )
79   def validateSecureHash: Route
80 
81   def routes: Route = adminCreateSecureHash ~ validateSecureHash
82 }
83 
84 trait SecurityApiComponent {
85   def securityApi: SecurityApi
86 }
87 
88 trait DefaultSecurityApiComponent extends SecurityApiComponent with MakeAuthenticationDirectives {
89   this: MakeDirectivesDependencies
90     with ActorSystemComponent
91     with QuestionServiceComponent
92     with OperationServiceComponent =>
93 
94   override lazy val securityApi: SecurityApi = new DefaultSecurityApi
95 
96   class DefaultSecurityApi extends SecurityApi {
97 
98     override def adminCreateSecureHash: Route =
99       post {
100         path("admin" / "security" / "secure-hash") {
101           makeOperation("CreateSecureHash") { _ =>
102             makeOAuth2 { userAuth: AuthInfo[UserRights] =>
103               requireAdminRole(userAuth.user) {
104                 decodeRequest {
105                   entity(as[CreateSecureHashRequest]) { request: CreateSecureHashRequest =>
106                     complete(
107                       SecureHashResponse(hash =
108                         SecurityHelper.createSecureHash(request.value, securityConfiguration.secureHashSalt)
109                       )
110                     )
111                   }
112                 }
113               }
114             }
115           }
116         }
117       }
118 
119     override def validateSecureHash: Route =
120       post {
121         path("security" / "secure-hash") {
122           makeOperation("ValidateSecureHash", EndpointType.Public) { _ =>
123             decodeRequest {
124               entity(as[ValidateSecureHashRequest]) { request: ValidateSecureHashRequest =>
125                 if (SecurityHelper
126                       .validateSecureHash(request.hash, request.value, securityConfiguration.secureHashSalt)) {
127                   complete(StatusCodes.NoContent)
128                 } else {
129                   complete(StatusCodes.BadRequest)
130                 }
131               }
132             }
133           }
134         }
135       }
136   }
137 }
138 
139 final case class CreateSecureHashRequest(value: String)
140 
141 object CreateSecureHashRequest {
142   implicit val decoder: Decoder[CreateSecureHashRequest] = deriveDecoder[CreateSecureHashRequest]
143 }
144 
145 final case class ValidateSecureHashRequest(hash: String, value: String)
146 
147 object ValidateSecureHashRequest {
148   implicit val decoder: Decoder[ValidateSecureHashRequest] = deriveDecoder[ValidateSecureHashRequest]
149 }
150 
151 final case class SecureHashResponse(hash: String)
152 
153 object SecureHashResponse {
154   implicit val encoder: Encoder[SecureHashResponse] = deriveEncoder[SecureHashResponse]
155   implicit val decoder: Decoder[SecureHashResponse] = deriveDecoder[SecureHashResponse]
156 }
Line Stmt Id Pos Tree Symbol Tests Code
81 36168 2764 - 2782 Select org.make.api.technical.security.SecurityApi.validateSecureHash org.make.api.technical.security.securityapitest SecurityApi.this.validateSecureHash
81 44266 2740 - 2761 Select org.make.api.technical.security.SecurityApi.adminCreateSecureHash org.make.api.technical.security.securityapitest SecurityApi.this.adminCreateSecureHash
81 32567 2740 - 2782 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.technical.security.securityapitest SecurityApi.this._enhanceRouteWithConcatenation(SecurityApi.this.adminCreateSecureHash).~(SecurityApi.this.validateSecureHash)
99 35450 3261 - 3933 Apply scala.Function1.apply org.make.api.technical.security.securityapitest server.this.Directive.addByNameNullaryApply(DefaultSecurityApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultSecurityApi.this.path[Unit](DefaultSecurityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultSecurityApi.this._segmentStringToPathMatcher("security"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultSecurityApi.this._segmentStringToPathMatcher("secure-hash"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSecurityApiComponent.this.makeOperation("CreateSecureHash", DefaultSecurityApiComponent.this.makeOperation$default$2, DefaultSecurityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultSecurityApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultSecurityApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultSecurityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.technical.security.CreateSecureHashRequest,)](DefaultSecurityApi.this.entity[org.make.api.technical.security.CreateSecureHashRequest](DefaultSecurityApi.this.as[org.make.api.technical.security.CreateSecureHashRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.security.CreateSecureHashRequest](DefaultSecurityApiComponent.this.unmarshaller[org.make.api.technical.security.CreateSecureHashRequest](security.this.CreateSecureHashRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.technical.security.CreateSecureHashRequest]).apply(((request: org.make.api.technical.security.CreateSecureHashRequest) => DefaultSecurityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.security.SecureHashResponse](SecureHashResponse.apply(SecurityHelper.createSecureHash(request.value, DefaultSecurityApiComponent.this.securityConfiguration.secureHashSalt)))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.security.SecureHashResponse](DefaultSecurityApiComponent.this.marshaller[org.make.api.technical.security.SecureHashResponse](security.this.SecureHashResponse.encoder, DefaultSecurityApiComponent.this.marshaller$default$2[org.make.api.technical.security.SecureHashResponse]))))))))))))))
99 45895 3261 - 3265 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.technical.security.securityapitest DefaultSecurityApi.this.post
100 50804 3291 - 3301 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.technical.security.securityapitest DefaultSecurityApi.this._segmentStringToPathMatcher("security")
100 30973 3302 - 3302 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.technical.security.securityapitest TupleOps.this.Join.join0P[Unit]
100 35922 3276 - 3318 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.technical.security.securityapitest DefaultSecurityApi.this.path[Unit](DefaultSecurityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultSecurityApi.this._segmentStringToPathMatcher("security"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultSecurityApi.this._segmentStringToPathMatcher("secure-hash"))(TupleOps.this.Join.join0P[Unit]))
100 37773 3281 - 3288 Literal <nosymbol> org.make.api.technical.security.securityapitest "admin"
100 39121 3304 - 3317 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.technical.security.securityapitest DefaultSecurityApi.this._segmentStringToPathMatcher("secure-hash")
100 44306 3281 - 3317 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.technical.security.securityapitest DefaultSecurityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultSecurityApi.this._segmentStringToPathMatcher("security"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultSecurityApi.this._segmentStringToPathMatcher("secure-hash"))(TupleOps.this.Join.join0P[Unit])
100 42272 3276 - 3925 Apply scala.Function1.apply org.make.api.technical.security.securityapitest server.this.Directive.addByNameNullaryApply(DefaultSecurityApi.this.path[Unit](DefaultSecurityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultSecurityApi.this._segmentStringToPathMatcher("security"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultSecurityApi.this._segmentStringToPathMatcher("secure-hash"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSecurityApiComponent.this.makeOperation("CreateSecureHash", DefaultSecurityApiComponent.this.makeOperation$default$2, DefaultSecurityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultSecurityApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultSecurityApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultSecurityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.technical.security.CreateSecureHashRequest,)](DefaultSecurityApi.this.entity[org.make.api.technical.security.CreateSecureHashRequest](DefaultSecurityApi.this.as[org.make.api.technical.security.CreateSecureHashRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.security.CreateSecureHashRequest](DefaultSecurityApiComponent.this.unmarshaller[org.make.api.technical.security.CreateSecureHashRequest](security.this.CreateSecureHashRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.technical.security.CreateSecureHashRequest]).apply(((request: org.make.api.technical.security.CreateSecureHashRequest) => DefaultSecurityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.security.SecureHashResponse](SecureHashResponse.apply(SecurityHelper.createSecureHash(request.value, DefaultSecurityApiComponent.this.securityConfiguration.secureHashSalt)))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.security.SecureHashResponse](DefaultSecurityApiComponent.this.marshaller[org.make.api.technical.security.SecureHashResponse](security.this.SecureHashResponse.encoder, DefaultSecurityApiComponent.this.marshaller$default$2[org.make.api.technical.security.SecureHashResponse])))))))))))))
100 42679 3289 - 3289 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.technical.security.securityapitest TupleOps.this.Join.join0P[Unit]
101 50831 3331 - 3915 Apply scala.Function1.apply org.make.api.technical.security.securityapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSecurityApiComponent.this.makeOperation("CreateSecureHash", DefaultSecurityApiComponent.this.makeOperation$default$2, DefaultSecurityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultSecurityApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultSecurityApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultSecurityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.technical.security.CreateSecureHashRequest,)](DefaultSecurityApi.this.entity[org.make.api.technical.security.CreateSecureHashRequest](DefaultSecurityApi.this.as[org.make.api.technical.security.CreateSecureHashRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.security.CreateSecureHashRequest](DefaultSecurityApiComponent.this.unmarshaller[org.make.api.technical.security.CreateSecureHashRequest](security.this.CreateSecureHashRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.technical.security.CreateSecureHashRequest]).apply(((request: org.make.api.technical.security.CreateSecureHashRequest) => DefaultSecurityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.security.SecureHashResponse](SecureHashResponse.apply(SecurityHelper.createSecureHash(request.value, DefaultSecurityApiComponent.this.securityConfiguration.secureHashSalt)))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.security.SecureHashResponse](DefaultSecurityApiComponent.this.marshaller[org.make.api.technical.security.SecureHashResponse](security.this.SecureHashResponse.encoder, DefaultSecurityApiComponent.this.marshaller$default$2[org.make.api.technical.security.SecureHashResponse]))))))))))))
101 42439 3344 - 3344 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.technical.security.securityapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
101 32010 3345 - 3363 Literal <nosymbol> org.make.api.technical.security.securityapitest "CreateSecureHash"
101 37527 3331 - 3331 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.technical.security.securityapitest DefaultSecurityApiComponent.this.makeOperation$default$3
101 50302 3331 - 3364 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.technical.security.securityapitest DefaultSecurityApiComponent.this.makeOperation("CreateSecureHash", DefaultSecurityApiComponent.this.makeOperation$default$2, DefaultSecurityApiComponent.this.makeOperation$default$3)
101 45388 3331 - 3331 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.technical.security.securityapitest DefaultSecurityApiComponent.this.makeOperation$default$2
102 31007 3384 - 3384 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.technical.security.securityapitest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
102 38555 3384 - 3394 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.technical.security.securityapitest DefaultSecurityApiComponent.this.makeOAuth2
102 37520 3384 - 3903 Apply scala.Function1.apply org.make.api.technical.security.securityapitest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultSecurityApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultSecurityApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultSecurityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.technical.security.CreateSecureHashRequest,)](DefaultSecurityApi.this.entity[org.make.api.technical.security.CreateSecureHashRequest](DefaultSecurityApi.this.as[org.make.api.technical.security.CreateSecureHashRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.security.CreateSecureHashRequest](DefaultSecurityApiComponent.this.unmarshaller[org.make.api.technical.security.CreateSecureHashRequest](security.this.CreateSecureHashRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.technical.security.CreateSecureHashRequest]).apply(((request: org.make.api.technical.security.CreateSecureHashRequest) => DefaultSecurityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.security.SecureHashResponse](SecureHashResponse.apply(SecurityHelper.createSecureHash(request.value, DefaultSecurityApiComponent.this.securityConfiguration.secureHashSalt)))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.security.SecureHashResponse](DefaultSecurityApiComponent.this.marshaller[org.make.api.technical.security.SecureHashResponse](security.this.SecureHashResponse.encoder, DefaultSecurityApiComponent.this.marshaller$default$2[org.make.api.technical.security.SecureHashResponse]))))))))))
103 44063 3462 - 3475 Select scalaoauth2.provider.AuthInfo.user userAuth.user
103 35955 3445 - 3476 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultSecurityApiComponent.this.requireAdminRole(userAuth.user)
103 45638 3445 - 3889 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultSecurityApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultSecurityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.technical.security.CreateSecureHashRequest,)](DefaultSecurityApi.this.entity[org.make.api.technical.security.CreateSecureHashRequest](DefaultSecurityApi.this.as[org.make.api.technical.security.CreateSecureHashRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.security.CreateSecureHashRequest](DefaultSecurityApiComponent.this.unmarshaller[org.make.api.technical.security.CreateSecureHashRequest](security.this.CreateSecureHashRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.technical.security.CreateSecureHashRequest]).apply(((request: org.make.api.technical.security.CreateSecureHashRequest) => DefaultSecurityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.security.SecureHashResponse](SecureHashResponse.apply(SecurityHelper.createSecureHash(request.value, DefaultSecurityApiComponent.this.securityConfiguration.secureHashSalt)))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.security.SecureHashResponse](DefaultSecurityApiComponent.this.marshaller[org.make.api.technical.security.SecureHashResponse](security.this.SecureHashResponse.encoder, DefaultSecurityApiComponent.this.marshaller$default$2[org.make.api.technical.security.SecureHashResponse]))))))))
104 49808 3495 - 3873 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultSecurityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.technical.security.CreateSecureHashRequest,)](DefaultSecurityApi.this.entity[org.make.api.technical.security.CreateSecureHashRequest](DefaultSecurityApi.this.as[org.make.api.technical.security.CreateSecureHashRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.security.CreateSecureHashRequest](DefaultSecurityApiComponent.this.unmarshaller[org.make.api.technical.security.CreateSecureHashRequest](security.this.CreateSecureHashRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.technical.security.CreateSecureHashRequest]).apply(((request: org.make.api.technical.security.CreateSecureHashRequest) => DefaultSecurityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.security.SecureHashResponse](SecureHashResponse.apply(SecurityHelper.createSecureHash(request.value, DefaultSecurityApiComponent.this.securityConfiguration.secureHashSalt)))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.security.SecureHashResponse](DefaultSecurityApiComponent.this.marshaller[org.make.api.technical.security.SecureHashResponse](security.this.SecureHashResponse.encoder, DefaultSecurityApiComponent.this.marshaller$default$2[org.make.api.technical.security.SecureHashResponse])))))))
104 32051 3495 - 3508 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultSecurityApi.this.decodeRequest
105 42475 3536 - 3563 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultSecurityApi.this.as[org.make.api.technical.security.CreateSecureHashRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.security.CreateSecureHashRequest](DefaultSecurityApiComponent.this.unmarshaller[org.make.api.technical.security.CreateSecureHashRequest](security.this.CreateSecureHashRequest.decoder)))
105 35743 3529 - 3855 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.technical.security.CreateSecureHashRequest,)](DefaultSecurityApi.this.entity[org.make.api.technical.security.CreateSecureHashRequest](DefaultSecurityApi.this.as[org.make.api.technical.security.CreateSecureHashRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.security.CreateSecureHashRequest](DefaultSecurityApiComponent.this.unmarshaller[org.make.api.technical.security.CreateSecureHashRequest](security.this.CreateSecureHashRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.technical.security.CreateSecureHashRequest]).apply(((request: org.make.api.technical.security.CreateSecureHashRequest) => DefaultSecurityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.security.SecureHashResponse](SecureHashResponse.apply(SecurityHelper.createSecureHash(request.value, DefaultSecurityApiComponent.this.securityConfiguration.secureHashSalt)))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.security.SecureHashResponse](DefaultSecurityApiComponent.this.marshaller[org.make.api.technical.security.SecureHashResponse](security.this.SecureHashResponse.encoder, DefaultSecurityApiComponent.this.marshaller$default$2[org.make.api.technical.security.SecureHashResponse]))))))
105 51363 3538 - 3538 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.security.CreateSecureHashRequest](DefaultSecurityApiComponent.this.unmarshaller[org.make.api.technical.security.CreateSecureHashRequest](security.this.CreateSecureHashRequest.decoder))
105 37561 3538 - 3538 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultSecurityApiComponent.this.unmarshaller[org.make.api.technical.security.CreateSecureHashRequest](security.this.CreateSecureHashRequest.decoder)
105 45849 3538 - 3538 Select org.make.api.technical.security.CreateSecureHashRequest.decoder security.this.CreateSecureHashRequest.decoder
105 31479 3535 - 3535 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.technical.security.CreateSecureHashRequest]
105 39359 3529 - 3564 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultSecurityApi.this.entity[org.make.api.technical.security.CreateSecureHashRequest](DefaultSecurityApi.this.as[org.make.api.technical.security.CreateSecureHashRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.security.CreateSecureHashRequest](DefaultSecurityApiComponent.this.unmarshaller[org.make.api.technical.security.CreateSecureHashRequest](security.this.CreateSecureHashRequest.decoder))))
106 44017 3623 - 3835 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultSecurityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.security.SecureHashResponse](SecureHashResponse.apply(SecurityHelper.createSecureHash(request.value, DefaultSecurityApiComponent.this.securityConfiguration.secureHashSalt)))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.security.SecureHashResponse](DefaultSecurityApiComponent.this.marshaller[org.make.api.technical.security.SecureHashResponse](security.this.SecureHashResponse.encoder, DefaultSecurityApiComponent.this.marshaller$default$2[org.make.api.technical.security.SecureHashResponse]))))
107 42505 3673 - 3673 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultSecurityApiComponent.this.marshaller[org.make.api.technical.security.SecureHashResponse](security.this.SecureHashResponse.encoder, DefaultSecurityApiComponent.this.marshaller$default$2[org.make.api.technical.security.SecureHashResponse])
107 31520 3655 - 3813 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.security.SecureHashResponse](SecureHashResponse.apply(SecurityHelper.createSecureHash(request.value, DefaultSecurityApiComponent.this.securityConfiguration.secureHashSalt)))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.security.SecureHashResponse](DefaultSecurityApiComponent.this.marshaller[org.make.api.technical.security.SecureHashResponse](security.this.SecureHashResponse.encoder, DefaultSecurityApiComponent.this.marshaller$default$2[org.make.api.technical.security.SecureHashResponse])))
107 38027 3673 - 3673 Select org.make.api.technical.security.SecureHashResponse.encoder security.this.SecureHashResponse.encoder
107 39109 3673 - 3673 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.security.SecureHashResponse](DefaultSecurityApiComponent.this.marshaller[org.make.api.technical.security.SecureHashResponse](security.this.SecureHashResponse.encoder, DefaultSecurityApiComponent.this.marshaller$default$2[org.make.api.technical.security.SecureHashResponse]))
107 50090 3673 - 3673 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultSecurityApiComponent.this.marshaller$default$2[org.make.api.technical.security.SecureHashResponse]
107 45891 3655 - 3813 Apply org.make.api.technical.security.SecureHashResponse.apply SecureHashResponse.apply(SecurityHelper.createSecureHash(request.value, DefaultSecurityApiComponent.this.securityConfiguration.secureHashSalt))
108 49006 3705 - 3789 Apply org.make.api.technical.security.SecurityHelper.createSecureHash SecurityHelper.createSecureHash(request.value, DefaultSecurityApiComponent.this.securityConfiguration.secureHashSalt)
108 44854 3737 - 3750 Select org.make.api.technical.security.CreateSecureHashRequest.value request.value
108 37012 3752 - 3788 Select org.make.api.technical.security.SecurityConfiguration.secureHashSalt DefaultSecurityApiComponent.this.securityConfiguration.secureHashSalt
120 31302 3986 - 4580 Apply scala.Function1.apply org.make.api.technical.security.securityapitest server.this.Directive.addByNameNullaryApply(DefaultSecurityApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultSecurityApi.this.path[Unit](DefaultSecurityApi.this._segmentStringToPathMatcher("security")./[Unit](DefaultSecurityApi.this._segmentStringToPathMatcher("secure-hash"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSecurityApiComponent.this.makeOperation("ValidateSecureHash", org.make.api.technical.EndpointType.Public, DefaultSecurityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultSecurityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.technical.security.ValidateSecureHashRequest,)](DefaultSecurityApi.this.entity[org.make.api.technical.security.ValidateSecureHashRequest](DefaultSecurityApi.this.as[org.make.api.technical.security.ValidateSecureHashRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.security.ValidateSecureHashRequest](DefaultSecurityApiComponent.this.unmarshaller[org.make.api.technical.security.ValidateSecureHashRequest](security.this.ValidateSecureHashRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.technical.security.ValidateSecureHashRequest]).apply(((request: org.make.api.technical.security.ValidateSecureHashRequest) => if (SecurityHelper.validateSecureHash(request.hash, request.value, DefaultSecurityApiComponent.this.securityConfiguration.secureHashSalt)) DefaultSecurityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)) else DefaultSecurityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode)))))))))
120 31265 3986 - 3990 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.technical.security.securityapitest DefaultSecurityApi.this.post
121 36499 4019 - 4032 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.technical.security.securityapitest DefaultSecurityApi.this._segmentStringToPathMatcher("secure-hash")
121 44056 4006 - 4016 Literal <nosymbol> org.make.api.technical.security.securityapitest "security"
121 34441 4001 - 4572 Apply scala.Function1.apply org.make.api.technical.security.securityapitest server.this.Directive.addByNameNullaryApply(DefaultSecurityApi.this.path[Unit](DefaultSecurityApi.this._segmentStringToPathMatcher("security")./[Unit](DefaultSecurityApi.this._segmentStringToPathMatcher("secure-hash"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSecurityApiComponent.this.makeOperation("ValidateSecureHash", org.make.api.technical.EndpointType.Public, DefaultSecurityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultSecurityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.technical.security.ValidateSecureHashRequest,)](DefaultSecurityApi.this.entity[org.make.api.technical.security.ValidateSecureHashRequest](DefaultSecurityApi.this.as[org.make.api.technical.security.ValidateSecureHashRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.security.ValidateSecureHashRequest](DefaultSecurityApiComponent.this.unmarshaller[org.make.api.technical.security.ValidateSecureHashRequest](security.this.ValidateSecureHashRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.technical.security.ValidateSecureHashRequest]).apply(((request: org.make.api.technical.security.ValidateSecureHashRequest) => if (SecurityHelper.validateSecureHash(request.hash, request.value, DefaultSecurityApiComponent.this.securityConfiguration.secureHashSalt)) DefaultSecurityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)) else DefaultSecurityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))))))))
121 37279 4001 - 4033 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.technical.security.securityapitest DefaultSecurityApi.this.path[Unit](DefaultSecurityApi.this._segmentStringToPathMatcher("security")./[Unit](DefaultSecurityApi.this._segmentStringToPathMatcher("secure-hash"))(TupleOps.this.Join.join0P[Unit]))
121 45682 4006 - 4032 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.technical.security.securityapitest DefaultSecurityApi.this._segmentStringToPathMatcher("security")./[Unit](DefaultSecurityApi.this._segmentStringToPathMatcher("secure-hash"))(TupleOps.this.Join.join0P[Unit])
121 49552 4017 - 4017 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.technical.security.securityapitest TupleOps.this.Join.join0P[Unit]
122 42463 4082 - 4101 Select org.make.api.technical.EndpointType.Public org.make.api.technical.security.securityapitest org.make.api.technical.EndpointType.Public
122 44096 4059 - 4059 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.technical.security.securityapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
122 30748 4046 - 4102 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.technical.security.securityapitest DefaultSecurityApiComponent.this.makeOperation("ValidateSecureHash", org.make.api.technical.EndpointType.Public, DefaultSecurityApiComponent.this.makeOperation$default$3)
122 43326 4046 - 4562 Apply scala.Function1.apply org.make.api.technical.security.securityapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSecurityApiComponent.this.makeOperation("ValidateSecureHash", org.make.api.technical.EndpointType.Public, DefaultSecurityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultSecurityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.technical.security.ValidateSecureHashRequest,)](DefaultSecurityApi.this.entity[org.make.api.technical.security.ValidateSecureHashRequest](DefaultSecurityApi.this.as[org.make.api.technical.security.ValidateSecureHashRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.security.ValidateSecureHashRequest](DefaultSecurityApiComponent.this.unmarshaller[org.make.api.technical.security.ValidateSecureHashRequest](security.this.ValidateSecureHashRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.technical.security.ValidateSecureHashRequest]).apply(((request: org.make.api.technical.security.ValidateSecureHashRequest) => if (SecurityHelper.validateSecureHash(request.hash, request.value, DefaultSecurityApiComponent.this.securityConfiguration.secureHashSalt)) DefaultSecurityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)) else DefaultSecurityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode)))))))
122 35206 4046 - 4046 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.technical.security.securityapitest DefaultSecurityApiComponent.this.makeOperation$default$3
122 50595 4060 - 4080 Literal <nosymbol> org.make.api.technical.security.securityapitest "ValidateSecureHash"
123 51178 4122 - 4550 Apply scala.Function1.apply org.make.api.technical.security.securityapitest server.this.Directive.addByNameNullaryApply(DefaultSecurityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.technical.security.ValidateSecureHashRequest,)](DefaultSecurityApi.this.entity[org.make.api.technical.security.ValidateSecureHashRequest](DefaultSecurityApi.this.as[org.make.api.technical.security.ValidateSecureHashRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.security.ValidateSecureHashRequest](DefaultSecurityApiComponent.this.unmarshaller[org.make.api.technical.security.ValidateSecureHashRequest](security.this.ValidateSecureHashRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.technical.security.ValidateSecureHashRequest]).apply(((request: org.make.api.technical.security.ValidateSecureHashRequest) => if (SecurityHelper.validateSecureHash(request.hash, request.value, DefaultSecurityApiComponent.this.securityConfiguration.secureHashSalt)) DefaultSecurityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)) else DefaultSecurityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode)))))
123 36247 4122 - 4135 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest org.make.api.technical.security.securityapitest DefaultSecurityApi.this.decodeRequest
124 37810 4152 - 4536 Apply scala.Function1.apply org.make.api.technical.security.securityapitest server.this.Directive.addDirectiveApply[(org.make.api.technical.security.ValidateSecureHashRequest,)](DefaultSecurityApi.this.entity[org.make.api.technical.security.ValidateSecureHashRequest](DefaultSecurityApi.this.as[org.make.api.technical.security.ValidateSecureHashRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.security.ValidateSecureHashRequest](DefaultSecurityApiComponent.this.unmarshaller[org.make.api.technical.security.ValidateSecureHashRequest](security.this.ValidateSecureHashRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.technical.security.ValidateSecureHashRequest]).apply(((request: org.make.api.technical.security.ValidateSecureHashRequest) => if (SecurityHelper.validateSecureHash(request.hash, request.value, DefaultSecurityApiComponent.this.securityConfiguration.secureHashSalt)) DefaultSecurityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)) else DefaultSecurityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))))
124 43523 4152 - 4189 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity org.make.api.technical.security.securityapitest DefaultSecurityApi.this.entity[org.make.api.technical.security.ValidateSecureHashRequest](DefaultSecurityApi.this.as[org.make.api.technical.security.ValidateSecureHashRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.security.ValidateSecureHashRequest](DefaultSecurityApiComponent.this.unmarshaller[org.make.api.technical.security.ValidateSecureHashRequest](security.this.ValidateSecureHashRequest.decoder))))
124 48996 4161 - 4161 Select org.make.api.technical.security.ValidateSecureHashRequest.decoder org.make.api.technical.security.securityapitest security.this.ValidateSecureHashRequest.decoder
124 50629 4159 - 4188 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as org.make.api.technical.security.securityapitest DefaultSecurityApi.this.as[org.make.api.technical.security.ValidateSecureHashRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.security.ValidateSecureHashRequest](DefaultSecurityApiComponent.this.unmarshaller[org.make.api.technical.security.ValidateSecureHashRequest](security.this.ValidateSecureHashRequest.decoder)))
124 34644 4158 - 4158 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.technical.security.securityapitest util.this.ApplyConverter.hac1[org.make.api.technical.security.ValidateSecureHashRequest]
124 37314 4161 - 4161 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller org.make.api.technical.security.securityapitest unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.security.ValidateSecureHashRequest](DefaultSecurityApiComponent.this.unmarshaller[org.make.api.technical.security.ValidateSecureHashRequest](security.this.ValidateSecureHashRequest.decoder))
124 45433 4161 - 4161 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller org.make.api.technical.security.securityapitest DefaultSecurityApiComponent.this.unmarshaller[org.make.api.technical.security.ValidateSecureHashRequest](security.this.ValidateSecureHashRequest.decoder)
126 30506 4307 - 4319 Select org.make.api.technical.security.ValidateSecureHashRequest.hash org.make.api.technical.security.securityapitest request.hash
126 43850 4321 - 4334 Select org.make.api.technical.security.ValidateSecureHashRequest.value org.make.api.technical.security.securityapitest request.value
126 50061 4250 - 4373 Apply org.make.api.technical.security.SecurityHelper.validateSecureHash org.make.api.technical.security.securityapitest SecurityHelper.validateSecureHash(request.hash, request.value, DefaultSecurityApiComponent.this.securityConfiguration.secureHashSalt)
126 37033 4336 - 4372 Select org.make.api.technical.security.SecurityConfiguration.secureHashSalt org.make.api.technical.security.securityapitest DefaultSecurityApiComponent.this.securityConfiguration.secureHashSalt
127 41179 4404 - 4425 Select akka.http.scaladsl.model.StatusCodes.NoContent org.make.api.technical.security.securityapitest akka.http.scaladsl.model.StatusCodes.NoContent
127 42261 4395 - 4426 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete org.make.api.technical.security.securityapitest DefaultSecurityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
127 35711 4395 - 4426 Block akka.http.scaladsl.server.directives.RouteDirectives.complete org.make.api.technical.security.securityapitest DefaultSecurityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
127 37353 4416 - 4416 Select akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode org.make.api.technical.security.securityapitest marshalling.this.Marshaller.fromStatusCode
127 50383 4404 - 4425 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply org.make.api.technical.security.securityapitest marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)
129 48791 4470 - 4502 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete org.make.api.technical.security.securityapitest DefaultSecurityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
129 43886 4491 - 4491 Select akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode org.make.api.technical.security.securityapitest marshalling.this.Marshaller.fromStatusCode
129 41974 4470 - 4502 Block akka.http.scaladsl.server.directives.RouteDirectives.complete org.make.api.technical.security.securityapitest DefaultSecurityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
129 36800 4479 - 4501 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply org.make.api.technical.security.securityapitest marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode)
129 31258 4479 - 4501 Select akka.http.scaladsl.model.StatusCodes.BadRequest org.make.api.technical.security.securityapitest akka.http.scaladsl.model.StatusCodes.BadRequest
142 44339 4737 - 4775 ApplyToImplicitArgs io.circe.generic.semiauto.deriveDecoder io.circe.generic.semiauto.deriveDecoder[org.make.api.technical.security.CreateSecureHashRequest]({ val inst$macro$8: io.circe.generic.decoding.DerivedDecoder[org.make.api.technical.security.CreateSecureHashRequest] = { final class anon$lazy$macro$7 extends AnyRef with Serializable { def <init>(): anon$lazy$macro$7 = { anon$lazy$macro$7.super.<init>(); () }; <stable> <accessor> lazy val inst$macro$1: io.circe.generic.decoding.DerivedDecoder[org.make.api.technical.security.CreateSecureHashRequest] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.technical.security.CreateSecureHashRequest, shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.technical.security.CreateSecureHashRequest, (Symbol @@ String("value")) :: shapeless.HNil, String :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.technical.security.CreateSecureHashRequest, (Symbol @@ String("value")) :: shapeless.HNil](::.apply[Symbol @@ String("value"), shapeless.HNil.type](scala.Symbol.apply("value").asInstanceOf[Symbol @@ String("value")], HNil)), Generic.instance[org.make.api.technical.security.CreateSecureHashRequest, String :: shapeless.HNil](((x0$3: org.make.api.technical.security.CreateSecureHashRequest) => x0$3 match { case (value: String): org.make.api.technical.security.CreateSecureHashRequest((value$macro$5 @ _)) => ::.apply[String, shapeless.HNil.type](value$macro$5, HNil).asInstanceOf[String :: shapeless.HNil] }), ((x0$4: String :: shapeless.HNil) => x0$4 match { case (head: String, tail: shapeless.HNil): String :: shapeless.HNil((value$macro$4 @ _), HNil) => security.this.CreateSecureHashRequest.apply(value$macro$4) })), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("value"), String, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("value")]](scala.Symbol.apply("value").asInstanceOf[Symbol @@ String("value")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("value")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$7.this.inst$macro$6)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.technical.security.CreateSecureHashRequest]]; <stable> <accessor> lazy val inst$macro$6: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({ final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] { def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = { $anon.super.<init>(); () }; private[this] val circeGenericDecoderForvalue: io.circe.Decoder[String] = circe.this.Decoder.decodeString; final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("value"), String, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForvalue.tryDecode(c.downField("value")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance); final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("value"), String, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForvalue.tryDecodeAccumulating(c.downField("value")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance) }; new $anon() }: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]] }; new anon$lazy$macro$7().inst$macro$1 }; shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.technical.security.CreateSecureHashRequest]](inst$macro$8) })
148 36837 4948 - 4988 ApplyToImplicitArgs io.circe.generic.semiauto.deriveDecoder org.make.api.technical.security.securityapitest io.circe.generic.semiauto.deriveDecoder[org.make.api.technical.security.ValidateSecureHashRequest]({ val inst$macro$12: io.circe.generic.decoding.DerivedDecoder[org.make.api.technical.security.ValidateSecureHashRequest] = { final class anon$lazy$macro$11 extends AnyRef with Serializable { def <init>(): anon$lazy$macro$11 = { anon$lazy$macro$11.super.<init>(); () }; <stable> <accessor> lazy val inst$macro$1: io.circe.generic.decoding.DerivedDecoder[org.make.api.technical.security.ValidateSecureHashRequest] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.technical.security.ValidateSecureHashRequest, shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.technical.security.ValidateSecureHashRequest, (Symbol @@ String("hash")) :: (Symbol @@ String("value")) :: shapeless.HNil, String :: String :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.technical.security.ValidateSecureHashRequest, (Symbol @@ String("hash")) :: (Symbol @@ String("value")) :: shapeless.HNil](::.apply[Symbol @@ String("hash"), (Symbol @@ String("value")) :: shapeless.HNil.type](scala.Symbol.apply("hash").asInstanceOf[Symbol @@ String("hash")], ::.apply[Symbol @@ String("value"), shapeless.HNil.type](scala.Symbol.apply("value").asInstanceOf[Symbol @@ String("value")], HNil))), Generic.instance[org.make.api.technical.security.ValidateSecureHashRequest, String :: String :: shapeless.HNil](((x0$3: org.make.api.technical.security.ValidateSecureHashRequest) => x0$3 match { case (hash: String, value: String): org.make.api.technical.security.ValidateSecureHashRequest((hash$macro$8 @ _), (value$macro$9 @ _)) => ::.apply[String, String :: shapeless.HNil.type](hash$macro$8, ::.apply[String, shapeless.HNil.type](value$macro$9, HNil)).asInstanceOf[String :: String :: shapeless.HNil] }), ((x0$4: String :: String :: shapeless.HNil) => x0$4 match { case (head: String, tail: String :: shapeless.HNil): String :: String :: shapeless.HNil((hash$macro$6 @ _), (head: String, tail: shapeless.HNil): String :: shapeless.HNil((value$macro$7 @ _), HNil)) => security.this.ValidateSecureHashRequest.apply(hash$macro$6, value$macro$7) })), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("hash"), String, (Symbol @@ String("value")) :: shapeless.HNil, String :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("value"), String, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("value")]](scala.Symbol.apply("value").asInstanceOf[Symbol @@ String("value")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("value")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("hash")]](scala.Symbol.apply("hash").asInstanceOf[Symbol @@ String("hash")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("hash")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$11.this.inst$macro$10)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.technical.security.ValidateSecureHashRequest]]; <stable> <accessor> lazy val inst$macro$10: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({ final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] { def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = { $anon.super.<init>(); () }; private[this] val circeGenericDecoderForvalue: io.circe.Decoder[String] = circe.this.Decoder.decodeString; final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("hash"), String, shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForvalue.tryDecode(c.downField("hash")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("value"), String, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForvalue.tryDecode(c.downField("value")), ReprDecoder.hnilResult)(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("hash"),String] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("hash"), String, shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForvalue.tryDecodeAccumulating(c.downField("hash")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("value"), String, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForvalue.tryDecodeAccumulating(c.downField("value")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance) }; new $anon() }: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]] }; new anon$lazy$macro$11().inst$macro$1 }; shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.technical.security.ValidateSecureHashRequest]](inst$macro$12) })
154 49849 5125 - 5158 ApplyToImplicitArgs io.circe.generic.semiauto.deriveEncoder io.circe.generic.semiauto.deriveEncoder[org.make.api.technical.security.SecureHashResponse]({ val inst$macro$8: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.technical.security.SecureHashResponse] = { final class anon$lazy$macro$7 extends AnyRef with Serializable { def <init>(): anon$lazy$macro$7 = { anon$lazy$macro$7.super.<init>(); () }; <stable> <accessor> lazy val inst$macro$1: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.technical.security.SecureHashResponse] = encoding.this.DerivedAsObjectEncoder.deriveEncoder[org.make.api.technical.security.SecureHashResponse, shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.technical.security.SecureHashResponse, (Symbol @@ String("hash")) :: shapeless.HNil, String :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.technical.security.SecureHashResponse, (Symbol @@ String("hash")) :: shapeless.HNil](::.apply[Symbol @@ String("hash"), shapeless.HNil.type](scala.Symbol.apply("hash").asInstanceOf[Symbol @@ String("hash")], HNil)), Generic.instance[org.make.api.technical.security.SecureHashResponse, String :: shapeless.HNil](((x0$3: org.make.api.technical.security.SecureHashResponse) => x0$3 match { case (hash: String): org.make.api.technical.security.SecureHashResponse((hash$macro$5 @ _)) => ::.apply[String, shapeless.HNil.type](hash$macro$5, HNil).asInstanceOf[String :: shapeless.HNil] }), ((x0$4: String :: shapeless.HNil) => x0$4 match { case (head: String, tail: shapeless.HNil): String :: shapeless.HNil((hash$macro$4 @ _), HNil) => security.this.SecureHashResponse.apply(hash$macro$4) })), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("hash"), String, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("hash")]](scala.Symbol.apply("hash").asInstanceOf[Symbol @@ String("hash")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("hash")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$7.this.inst$macro$6)).asInstanceOf[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.technical.security.SecureHashResponse]]; <stable> <accessor> lazy val inst$macro$6: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({ final class $anon extends io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] { def <init>(): <$anon: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = { $anon.super.<init>(); () }; private[this] val circeGenericEncoderForhash: io.circe.Encoder[String] = circe.this.Encoder.encodeString; final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match { case (head: shapeless.labelled.FieldType[Symbol @@ String("hash"),String], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForhash @ _), shapeless.HNil) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("hash", $anon.this.circeGenericEncoderForhash.apply(circeGenericHListBindingForhash)))) } }; new $anon() }: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]] }; new anon$lazy$macro$7().inst$macro$1 }; shapeless.Lazy.apply[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.technical.security.SecureHashResponse]](inst$macro$8) })
155 41729 5213 - 5246 ApplyToImplicitArgs io.circe.generic.semiauto.deriveDecoder io.circe.generic.semiauto.deriveDecoder[org.make.api.technical.security.SecureHashResponse]({ val inst$macro$16: io.circe.generic.decoding.DerivedDecoder[org.make.api.technical.security.SecureHashResponse] = { final class anon$lazy$macro$15 extends AnyRef with Serializable { def <init>(): anon$lazy$macro$15 = { anon$lazy$macro$15.super.<init>(); () }; <stable> <accessor> lazy val inst$macro$9: io.circe.generic.decoding.DerivedDecoder[org.make.api.technical.security.SecureHashResponse] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.technical.security.SecureHashResponse, shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.technical.security.SecureHashResponse, (Symbol @@ String("hash")) :: shapeless.HNil, String :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.technical.security.SecureHashResponse, (Symbol @@ String("hash")) :: shapeless.HNil](::.apply[Symbol @@ String("hash"), shapeless.HNil.type](scala.Symbol.apply("hash").asInstanceOf[Symbol @@ String("hash")], HNil)), Generic.instance[org.make.api.technical.security.SecureHashResponse, String :: shapeless.HNil](((x0$7: org.make.api.technical.security.SecureHashResponse) => x0$7 match { case (hash: String): org.make.api.technical.security.SecureHashResponse((hash$macro$13 @ _)) => ::.apply[String, shapeless.HNil.type](hash$macro$13, HNil).asInstanceOf[String :: shapeless.HNil] }), ((x0$8: String :: shapeless.HNil) => x0$8 match { case (head: String, tail: shapeless.HNil): String :: shapeless.HNil((hash$macro$12 @ _), HNil) => security.this.SecureHashResponse.apply(hash$macro$12) })), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("hash"), String, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("hash")]](scala.Symbol.apply("hash").asInstanceOf[Symbol @@ String("hash")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("hash")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$15.this.inst$macro$14)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.technical.security.SecureHashResponse]]; <stable> <accessor> lazy val inst$macro$14: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({ final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] { def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = { $anon.super.<init>(); () }; private[this] val circeGenericDecoderForhash: io.circe.Decoder[String] = circe.this.Decoder.decodeString; final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("hash"), String, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForhash.tryDecode(c.downField("hash")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance); final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("hash"), String, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForhash.tryDecodeAccumulating(c.downField("hash")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance) }; new $anon() }: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("hash"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]] }; new anon$lazy$macro$15().inst$macro$9 }; shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.technical.security.SecureHashResponse]](inst$macro$16) })