Свойство | Тип | Описание | |
---|---|---|---|
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 |