Okay! Here are the environment keys and flows that authentication middleware follow.
Any API you see on IAuthenticationManager, IOwinContext, IOwinRequest, IOwinResponse are only syntax sugar and utility code around these env keys and values.
Simplest cases first: the application wants to sign in or sign out the user.