/// <summary> /// Check if the present request is actually a callpack path for the NTLM authentication middleware /// </summary> /// <remarks> /// If you didn't use the default redirection path in the configuration of the NTLM authentication /// middleware you must supply the same path to this function. See overloads of this method. /// </remarks> /// <param name="request"></param> /// <returns>True if the request path is the callback path, false otherwise</returns> public static bool IsNtlmAuthenticationCallback( this IOwinRequest request) { return(request.IsNtlmAuthenticationCallback(NtlmAuthenticationOptions.DefaultRedirectPath)); }