The SNP leader says Jeremy Corbyn would need to back the "principle" of a second independence referendum.