tuna-software / android-sdk

Our android SDK.
Other
3 stars 0 forks source link

Add use the attribute ValidFor from Bind API to verify whether or not a Token Bind still valid #71

Closed Luiz-Otavio-Dorigon closed 2 years ago

Luiz-Otavio-Dorigon commented 2 years ago

README.md: Add examples of how to check bind; JavaDetailCardActivity.java: Add examples of how to check bind; KotlinDetailCardActivity.kt: Add examples of how to check bind; TunaCard.kt: Create method to set valid for, check if bind has expired and get seconds to expire; TunaRequestImp.kt: Copy card and set bind result; RequestDataVOs.kt: Add atibute validFor; TunaRequestImpTest.kt: Test if bind expired; TunaSessionTest.kt: Remove unused test; bind-card-success.json: Add attribute validFor;

70