modifica commento upstream
This commit is contained in:
parent
bba0ca81c5
commit
31c528c73f
@ -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