     }
 
     func password() -> String? {
-        if scope == kOauth2ScopeFull{
-            return refreshToken
-        }else {
-            return accessToken
-        }
+        return scope == kOauth2ScopeFull ? refreshToken : accessToken
     }
 
     func storeInKeyChain() {

    }

    func canBeRefreshedByRefreshToken() -> Bool {
        if scope == kOauth2ScopeFull {
            return true
        }
        return false
    }

    class func moveOldOAuthTokensIfPresent() {
        if ((LUKeychainAccess.standardKeychainAccess().stringForKey(kKeychainAccessRefreshTokenKey) as String?) != nil) {
        //if let actualOldRefreshToken = LUKeychainAccess.standardKeychainAccess().stringForKey(kKeychainAccessRefreshTokenKey) as String? {
        //let newOAuthToken = OAuthToken(refreshToken: actualOldRefreshToken, scope: kOauth2ScopeFull)
            LUKeychainAccess.standardKeychainAccess().setObject(nil, forKey: kKeychainAccessRefreshTokenKey)
        }
    }

    }

    class func isUserLoggedIn() -> Bool {
        return OAuthToken.oAuthTokenWithScope(kOauth2ScopeFull) != nil
    }

    func removeFromKeychainIfNoAccessToken() {
