Click or drag to resize

IAuthenticationAuthenticate Method

If this method returns false the client will be kicked. The method should set the ConnectionContext.User (IPrincipal/ClaimsPrincipal) on the protocol

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

Parameters

protocol
Type: Crosser.Common.Server.ProtocolIProtocol
the IProtocol to authenticate

Return Value

Type: Boolean
false if the client will be denied/kicked from the server
See Also