pull down to refresh

Log In With Lightning is neat, but how does it work? Is it a special protocol on top of LN, or is it like a fake invoice or something like that?