moving appBladeDeviceSecrets to outside of the header file.
renaming some internal functions and adding a  cancelPendingRequestsByToken method for better handling of token refreshes.