Skip to content

Commit

Permalink
- jwt io updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Semih Özköroğlu committed Feb 2, 2022
1 parent 54c96bb commit f2b338c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rbs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ dependencies {
implementation "androidx.preference:preference-ktx:1.1.1"

// JWT
implementation 'com.auth0.android:jwtdecode:2.0.0'
implementation 'com.auth0.android:jwtdecode:2.0.1'

// Coroutines
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ object TokenManager {
}
}

fun calculateDelta() {
private fun calculateDelta() {
accessToken?.jwtIat()?.let { iat ->
val diff = (System.currentTimeMillis() / 1000) - iat
RBSLogger.log("TokenManager.tokenInfo set time difference $diff")
Expand Down

0 comments on commit f2b338c

Please sign in to comment.