Skip to content

Commit 5ac3db5

Browse files
committed
Adjusted Example project
1 parent 04aeac5 commit 5ac3db5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/src/main/scala/za/co/absa/clientexample/Application.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ object Application {
9191
try {
9292
val (accessToken, refreshToken) = authMethod match {
9393
case "1" =>
94-
tokenRetriever.fetchAccessAndRefreshToken(username, password, List.empty)
94+
tokenRetriever.fetchAccessAndRefreshToken(username, password, List.empty, false)
9595
case "2" =>
96-
tokenRetriever.fetchAccessAndRefreshToken(None, None, List.empty)
96+
tokenRetriever.fetchAccessAndRefreshToken(None, None, List.empty, false)
9797
}
9898
val decodedAtJwt = accessVerificator.decodeAndVerifyAccessToken(accessToken) // throw Exception on verification fail
9999
loggedIn = true

0 commit comments

Comments
 (0)