Skip to content

Commit

Permalink
Fix refreshToken bug (#150)
Browse files Browse the repository at this point in the history
* fix version update bug (#146)

* fix refreshtoken bug
  • Loading branch information
ishangulhane authored and gtaban committed Jun 19, 2018
1 parent c5567f6 commit 16fb0a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/IBMCloudAppID/internal/TokenManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ internal class TokenManager {
self.validateToken(token: identityToken, tokenResponseDelegate: tokenResponseDelegate) {
self.latestAccessToken = accessToken
self.latestIdentityToken = identityToken
self.latestRefreshToken = nil
if let refreshTokenString = responseJson["refresh_token"] as? String {
self.latestRefreshToken = RefreshTokenImpl(with: refreshTokenString)
}
Expand Down

0 comments on commit 16fb0a2

Please sign in to comment.