06071679a9
Changes in architecture to support authorization and temporary workaround for NTLM in Firefox (to be removed in SignalR 2.x). Thanks to @davidfowl
16 lines
461 B
C#
16 lines
461 B
C#
using Disco.Models.Repository;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Disco.BI.Interop.SignalRHandlers
|
|
{
|
|
public class AdminAuthorizedPersistentConnection : AuthorizedPersistentConnection
|
|
{
|
|
private string[] authorizedUserTypes = { User.Types.Admin };
|
|
|
|
protected override string[] AuthorizedUserTypes { get { return authorizedUserTypes; } }
|
|
}
|
|
} |