title: How do we get the current Authentication Mode in SharePoint using C#
body: <p>I have a sharepoint site which has different authentication options available for users to login like Windows, Trusted SAML etc</p>
  
  <p>How can i determine which is the authentication mode of the current request?</p>
  
  <p>I have tried the "SPSecurity.AuthenticationMode" but its value is always forms.</p>