프로퍼티 | 타입 | 설명 | |
---|---|---|---|
SplitString | string[] |
메소드 | 설명 | |
---|---|---|
AuthorizeHubConnection ( |
Determines whether client is authorized to connect to IHub.
|
|
AuthorizeHubMethodInvocation ( IHubIncomingInvokerContext hubIncomingInvokerContext, bool appliesToMethod ) : bool |
Determines whether client is authorized to invoke the IHub method.
|
메소드 | 설명 | |
---|---|---|
UserAuthorized ( IPrincipal user ) : bool |
When overridden, provides an entry point for custom authorization checks. Called by AuthorizeAttribute.AuthorizeHubConnection and AuthorizeAttribute.AuthorizeHubMethodInvocation.
|
메소드 | 설명 | |
---|---|---|
SplitString ( string original ) : string[] |
public AuthorizeHubConnection ( |
||
hubDescriptor | Description of the hub client is attempting to connect to. | |
request | IRequest | The (re)connect request from the client. |
리턴 | bool |
public AuthorizeHubMethodInvocation ( IHubIncomingInvokerContext hubIncomingInvokerContext, bool appliesToMethod ) : bool | ||
hubIncomingInvokerContext | IHubIncomingInvokerContext | An |
appliesToMethod | bool | Indicates whether the interface instance is an attribute applied directly to a method. |
리턴 | bool |
protected UserAuthorized ( IPrincipal user ) : bool | ||
user | IPrincipal | The |
리턴 | bool |