Compare commits
No commits in common. "31c528c73fc235f0c7332caa6099759e0162fbb8" and "6215bc04cca9360bce349f6c88d76ef0732def09" have entirely different histories.
31c528c73f
...
6215bc04cc
3
.gitignore
vendored
3
.gitignore
vendored
@ -39,5 +39,4 @@ bin/
|
|||||||
.vscode/
|
.vscode/
|
||||||
|
|
||||||
### Mac OS ###
|
### Mac OS ###
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.idea/.name
|
|
@ -30,7 +30,7 @@ fun Route.auth(accountsRepository: AccountsRepositoryImpl, parametriRepository:
|
|||||||
logger.info("param: " +
|
logger.info("param: " +
|
||||||
receivedResponse.param);
|
receivedResponse.param);
|
||||||
|
|
||||||
// Decodifica la stringa da Base64 a oggetto Credentials
|
// Decodifica la stringa da Base64
|
||||||
val decodedBytes = Base64.getDecoder().decode(receivedResponse.param)
|
val decodedBytes = Base64.getDecoder().decode(receivedResponse.param)
|
||||||
val decodedString = String(decodedBytes)
|
val decodedString = String(decodedBytes)
|
||||||
val credentials = Json.decodeFromString<Credentials>(decodedString)
|
val credentials = Json.decodeFromString<Credentials>(decodedString)
|
||||||
|
Loading…
Reference in New Issue
Block a user