|
|
|
|
@ -88,6 +88,7 @@ public class StoreCenter { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
fileprivate func _configureWebSocket() { |
|
|
|
|
|
|
|
|
|
self._webSocketManager?.disconnect() |
|
|
|
|
self._webSocketManager = nil |
|
|
|
|
|
|
|
|
|
@ -208,6 +209,10 @@ public class StoreCenter { |
|
|
|
|
guard let keychainStore else { throw StoreError.missingKeychainStore } |
|
|
|
|
return try keychainStore.getValue() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public func rawTokenShouldNotBeUsed() throws -> String? { |
|
|
|
|
return try self.keychainStore?.getValue() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// Disconnect the user from the storage and resets collection |
|
|
|
|
public func disconnect() { |
|
|
|
|
|