Crosser Technologies - Server
Crosser Technologies - Server
Namespaces
Crosser.Server Namespaces
Crosser.Server.Modules Namespaces
Crosser.Server.Modules.Security
DefaultAuthentication Class
DefaultAuthentication Methods
Authenticate Method
DefaultAuthentication
Authenticate Method
Will evaluate the user based on information passed with the "HI" message
Namespace:
Crosser.Server.Modules.Security
Assembly:
Crosser.Server (in Crosser.Server.dll) Version: 0.0.5
Syntax
C#
Copy
public
virtual
bool
Authenticate
(
IProtocol
protocol
)
Parameters
protocol
Type:
Crosser.Common.Server.Protocol
IProtocol
the current connection
Return Value
Type:
Boolean
true if the user is validated, otherwise false. If false is returned the connections will be closed by the server.
Implements
IAuthentication
Authenticate(IProtocol)
See Also
Reference
DefaultAuthentication Class
Crosser.Server.Modules.Security Namespace