Candor.Security.Web.CandorAuthenticationModule.CheckRequireAuthentication C# (CSharp) Method

CheckRequireAuthentication() private static method

Checks if a request needs to be authentication based on the url requested. Static resource files do not require authentication.
private static CheckRequireAuthentication ( HttpContext context ) : bool
context System.Web.HttpContext
return bool
        private static bool CheckRequireAuthentication( HttpContext context )
        {
            var extension = System.IO.Path.GetExtension(context.Request.Url.LocalPath);
            if (extension != null)
            {
                if (IgnoreAuthExtensions.Contains(extension.ToLower()))
                    return false;
            }
            return true;
        }