UmbracoIdentity - How do you programatically login a member?

I’ve looked through the package’s code, and cannot seem to piece together what is needed to do this.

If I have the IMember object, how does one programmatically log the member in so that all downstream code and pages carry the authenticated member?


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/106263-umbracoidentity-how-do-you-programatically-login-a-member