def locked_put(self, credentials):
        self._create_file_if_needed()
        self._validate_file()
        f = open(self._filename, 'w')
        f.write(credentials.to_json())
        f.close()
Write Credentials to file.
dataset/ETHPy150Open google/oauth2client/oauth2client/file.py/Storage.locked_put