Click or drag to resize

IAuthorizationIsAuthorized Method

Returns true if the user is allowed to call the method

Namespace:  Crosser.Common.Server.Security
Assembly:  Crosser.Common (in Crosser.Common.dll) Version: 0.0.4
Syntax
C#
bool IsAuthorized(
	IControllerEventInfo cei,
	IProtocol protocol
)

Parameters

cei
Type: Crosser.Common.ServerIControllerEventInfo
Metadata about the method to call
protocol
Type: Crosser.Common.Server.ProtocolIProtocol
The connection calling the method

Return Value

Type: Boolean
true if the client is allowed to access the method
See Also