I'm trying to understand, how (Forms)Authentication works under the covers.
It seems like the FormsAuthenticationMiddleware used for external auth has to have the name External and the other one has to have the name Application.
If that's true, I'm wondering, how this name-strings are used by which internal component, cause it also seems like every registered AuthenticationMiddleware is chained up and invoked one afther the other.
Furthermore, I'm wondering, why I have to call SetDefaultSignInAsAuthenticationType when there is more than one (Forms)AuthenticationMiddleware, cause - as mentioned - they seem to get chained up and invoked one afther the other.
Thx and Wishes,