Skip to content

Commit

Permalink
Do not delete device secret and id token in shared storage on logout
Browse files Browse the repository at this point in the history
  • Loading branch information
tung2744 committed Jul 16, 2024
1 parent 8c3f2a9 commit ed50238
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sdk/src/main/java/com/oursky/authgear/AuthgearCore.kt
Original file line number Diff line number Diff line change
Expand Up @@ -781,8 +781,6 @@ internal class AuthgearCore(

private fun clearSession(changeReason: SessionStateChangeReason) {
tokenStorage.deleteRefreshToken(name)
sharedStorage.deleteIDToken(name)
sharedStorage.deleteDeviceSecret(name)
storage.deleteApp2AppDeviceKeyId(name)
synchronized(this) {
accessToken = null
Expand Down

0 comments on commit ed50238

Please sign in to comment.