| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
46
|
29400
|
1881
-
2153
|
Apply
|
org.make.api.technical.auth.TokenResponse.apply
|
|
TokenResponse.apply("Bearer", tokenResult.token, tokenResult.expiresIn.getOrElse[Long](1L), tokenResult.refreshToken, tokenResult.params.get(org.make.api.technical.auth.MakeDataHandler.RefreshTokenExpirationParameter).map[Long](((x$1: String) => scala.Predef.augmentString(x$1).toLong)), tokenResult.params.getOrElse[String](org.make.api.technical.auth.MakeDataHandler.CreatedAtParameter, ""))
|
|
47
|
29832
|
1902
-
1910
|
Literal
|
<nosymbol>
|
|
"Bearer"
|
|
48
|
29440
|
1918
-
1935
|
Select
|
scalaoauth2.provider.AccessToken.token
|
|
tokenResult.token
|
|
49
|
28554
|
1943
-
1978
|
Apply
|
scala.Option.getOrElse
|
|
tokenResult.expiresIn.getOrElse[Long](1L)
|
|
50
|
29964
|
1986
-
2010
|
Select
|
scalaoauth2.provider.AccessToken.refreshToken
|
|
tokenResult.refreshToken
|
|
51
|
28335
|
2078
-
2086
|
Select
|
scala.collection.StringOps.toLong
|
|
scala.Predef.augmentString(x$1).toLong
|
|
51
|
29220
|
2041
-
2072
|
Select
|
org.make.api.technical.auth.MakeDataHandler.RefreshTokenExpirationParameter
|
|
org.make.api.technical.auth.MakeDataHandler.RefreshTokenExpirationParameter
|
|
51
|
30145
|
2018
-
2087
|
Apply
|
scala.Option.map
|
|
tokenResult.params.get(org.make.api.technical.auth.MakeDataHandler.RefreshTokenExpirationParameter).map[Long](((x$1: String) => scala.Predef.augmentString(x$1).toLong))
|
|
52
|
29250
|
2124
-
2142
|
Select
|
org.make.api.technical.auth.MakeDataHandler.CreatedAtParameter
|
|
org.make.api.technical.auth.MakeDataHandler.CreatedAtParameter
|
|
52
|
28439
|
2144
-
2146
|
Literal
|
<nosymbol>
|
|
""
|
|
52
|
29837
|
2095
-
2147
|
Apply
|
scala.collection.MapOps.getOrElse
|
|
tokenResult.params.getOrElse[String](org.make.api.technical.auth.MakeDataHandler.CreatedAtParameter, "")
|
|
57
|
28560
|
2234
-
2246
|
Literal
|
<nosymbol>
|
|
"token_type"
|
|
57
|
29173
|
2331
-
2331
|
Select
|
io.circe.Encoder.encodeString
|
|
circe.this.Encoder.encodeString
|
|
57
|
28341
|
2278
-
2293
|
Literal
|
<nosymbol>
|
|
"refresh_token"
|
|
57
|
29950
|
2331
-
2331
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeOption
|
|
circe.this.Encoder.encodeOption[Long](circe.this.Encoder.encodeLong)
|
|
57
|
29259
|
2331
-
2331
|
Select
|
io.circe.Encoder.encodeString
|
|
circe.this.Encoder.encodeString
|
|
57
|
30183
|
2331
-
2331
|
Select
|
io.circe.Encoder.encodeString
|
|
circe.this.Encoder.encodeString
|
|
57
|
28475
|
2331
-
2331
|
Select
|
io.circe.Encoder.encodeLong
|
|
circe.this.Encoder.encodeLong
|
|
57
|
29034
|
2331
-
2331
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeOption
|
|
circe.this.Encoder.encodeOption[String](circe.this.Encoder.encodeString)
|
|
57
|
28394
|
2214
-
2567
|
ApplyToImplicitArgs
|
io.circe.ProductEncoders.forProduct6
|
|
io.circe.Encoder.forProduct6[org.make.api.technical.auth.TokenResponse, String, String, Long, Option[String], Option[Long], String]("token_type", "access_token", "expires_in", "refresh_token", "refresh_expires_in", "created_at")(((response: org.make.api.technical.auth.TokenResponse) => scala.Tuple6.apply[String, String, Long, Option[String], Option[Long], String](response.tokenType, response.accessToken, response.expiresIn, response.refreshToken, response.refreshExpiresIn, response.createdAt)))(circe.this.Encoder.encodeString, circe.this.Encoder.encodeString, circe.this.Encoder.encodeLong, circe.this.Encoder.encodeOption[String](circe.this.Encoder.encodeString), circe.this.Encoder.encodeOption[Long](circe.this.Encoder.encodeLong), circe.this.Encoder.encodeString)
|
|
57
|
30182
|
2295
-
2315
|
Literal
|
<nosymbol>
|
|
"refresh_expires_in"
|
|
57
|
29204
|
2264
-
2276
|
Literal
|
<nosymbol>
|
|
"expires_in"
|
|
57
|
29940
|
2248
-
2262
|
Literal
|
<nosymbol>
|
|
"access_token"
|
|
57
|
29906
|
2331
-
2331
|
Select
|
io.circe.Encoder.encodeString
|
|
circe.this.Encoder.encodeString
|
|
57
|
29254
|
2317
-
2329
|
Literal
|
<nosymbol>
|
|
"created_at"
|
|
57
|
28671
|
2331
-
2331
|
Select
|
io.circe.Encoder.encodeLong
|
|
circe.this.Encoder.encodeLong
|
|
59
|
28392
|
2359
-
2561
|
Apply
|
scala.Tuple6.apply
|
|
scala.Tuple6.apply[String, String, Long, Option[String], Option[Long], String](response.tokenType, response.accessToken, response.expiresIn, response.refreshToken, response.refreshExpiresIn, response.createdAt)
|
|
60
|
28440
|
2371
-
2389
|
Select
|
org.make.api.technical.auth.TokenResponse.tokenType
|
|
response.tokenType
|
|
61
|
29901
|
2401
-
2421
|
Select
|
org.make.api.technical.auth.TokenResponse.accessToken
|
|
response.accessToken
|
|
62
|
29404
|
2433
-
2451
|
Select
|
org.make.api.technical.auth.TokenResponse.expiresIn
|
|
response.expiresIn
|
|
63
|
28666
|
2463
-
2484
|
Select
|
org.make.api.technical.auth.TokenResponse.refreshToken
|
|
response.refreshToken
|
|
64
|
29947
|
2496
-
2521
|
Select
|
org.make.api.technical.auth.TokenResponse.refreshExpiresIn
|
|
response.refreshExpiresIn
|
|
65
|
29211
|
2533
-
2551
|
Select
|
org.make.api.technical.auth.TokenResponse.createdAt
|
|
response.createdAt
|
|
72
|
30101
|
2655
-
2667
|
Literal
|
<nosymbol>
|
|
"token_type"
|
|
73
|
29360
|
2675
-
2689
|
Literal
|
<nosymbol>
|
|
"access_token"
|
|
74
|
28481
|
2697
-
2709
|
Literal
|
<nosymbol>
|
|
"expires_in"
|
|
75
|
29877
|
2717
-
2732
|
Literal
|
<nosymbol>
|
|
"refresh_token"
|
|
76
|
29040
|
2740
-
2760
|
Literal
|
<nosymbol>
|
|
"refresh_expires_in"
|
|
77
|
28634
|
2768
-
2780
|
Literal
|
<nosymbol>
|
|
"created_at"
|
|
78
|
28605
|
2786
-
2786
|
Select
|
io.circe.Decoder.decodeString
|
|
circe.this.Decoder.decodeString
|
|
78
|
29047
|
2786
-
2786
|
ApplyToImplicitArgs
|
io.circe.Decoder.decodeOption
|
|
circe.this.Decoder.decodeOption[Long](circe.this.Decoder.decodeLong)
|
|
78
|
29178
|
2786
-
2786
|
Select
|
io.circe.Decoder.decodeString
|
|
circe.this.Decoder.decodeString
|
|
78
|
28454
|
2786
-
2786
|
ApplyToImplicitArgs
|
io.circe.Decoder.decodeOption
|
|
circe.this.Decoder.decodeOption[String](circe.this.Decoder.decodeString)
|
|
78
|
29943
|
2628
-
2807
|
ApplyToImplicitArgs
|
io.circe.ProductDecoders.forProduct6
|
|
io.circe.Decoder.forProduct6[org.make.api.technical.auth.TokenResponse, String, String, Long, Option[String], Option[Long], String]("token_type", "access_token", "expires_in", "refresh_token", "refresh_expires_in", "created_at")(((tokenType: String, accessToken: String, expiresIn: Long, refreshToken: Option[String], refreshExpiresIn: Option[Long], createdAt: String) => TokenResponse.apply(tokenType, accessToken, expiresIn, refreshToken, refreshExpiresIn, createdAt)))(circe.this.Decoder.decodeString, circe.this.Decoder.decodeString, circe.this.Decoder.decodeLong, circe.this.Decoder.decodeOption[String](circe.this.Decoder.decodeString), circe.this.Decoder.decodeOption[Long](circe.this.Decoder.decodeLong), circe.this.Decoder.decodeString)
|
|
78
|
29979
|
2787
-
2806
|
Apply
|
org.make.api.technical.auth.TokenResponse.apply
|
akka.http.scaladsl.testkit.routetest
|
TokenResponse.apply(tokenType, accessToken, expiresIn, refreshToken, refreshExpiresIn, createdAt)
|
|
78
|
29883
|
2786
-
2786
|
Select
|
io.circe.Decoder.decodeLong
|
|
circe.this.Decoder.decodeLong
|
|
78
|
29745
|
2786
-
2786
|
Select
|
io.circe.Decoder.decodeLong
|
|
circe.this.Decoder.decodeLong
|
|
78
|
29308
|
2786
-
2786
|
Select
|
io.circe.Decoder.decodeString
|
|
circe.this.Decoder.decodeString
|
|
78
|
28294
|
2786
-
2786
|
Select
|
io.circe.Decoder.decodeString
|
|
circe.this.Decoder.decodeString
|