C# 클래스 Microsoft.AspNet.SignalR.HubPipelineExtensions

파일 보기 프로젝트 열기: SignalR/SignalR

공개 메소드들

메소드 설명
RequireAuthentication ( this pipeline ) : void

Requiring Authentication adds an AuthorizeModule to the IHubPipeline with IAuthorizeHubConnection and IAuthorizeHubMethodInvocation authorizers that will be applied globally to all hubs and hub methods. These authorizers require that the System.Security.Principal.IPrincipal's System.Security.Principal.IIdentity IsAuthenticated for any clients that invoke server-side hub methods or receive client-side hub method invocations.

메소드 상세

RequireAuthentication() 공개 정적인 메소드

Requiring Authentication adds an AuthorizeModule to the IHubPipeline with IAuthorizeHubConnection and IAuthorizeHubMethodInvocation authorizers that will be applied globally to all hubs and hub methods. These authorizers require that the System.Security.Principal.IPrincipal's System.Security.Principal.IIdentity IsAuthenticated for any clients that invoke server-side hub methods or receive client-side hub method invocations.
public static RequireAuthentication ( this pipeline ) : void
pipeline this The to which the will be added.
리턴 void