Compare commits
4 Commits
6215bc04cc
...
31c528c73f
Author | SHA1 | Date | |
---|---|---|---|
31c528c73f | |||
bba0ca81c5 | |||
6c6d518851 | |||
91bc2bad30 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -40,3 +40,4 @@ bin/
|
||||
|
||||
### Mac OS ###
|
||||
.DS_Store
|
||||
.idea/.name
|
||||
|
@ -30,7 +30,7 @@ fun Route.auth(accountsRepository: AccountsRepositoryImpl, parametriRepository:
|
||||
logger.info("param: " +
|
||||
receivedResponse.param);
|
||||
|
||||
// Decodifica la stringa da Base64
|
||||
// Decodifica la stringa da Base64 a oggetto Credentials
|
||||
val decodedBytes = Base64.getDecoder().decode(receivedResponse.param)
|
||||
val decodedString = String(decodedBytes)
|
||||
val credentials = Json.decodeFromString<Credentials>(decodedString)
|
||||
|
Loading…
Reference in New Issue
Block a user