Interface ISessionAuthorizer
Interface for implementing custom user authorization rules for incoming player connections
Namespace: Eco.Gameplay.Players
Assembly: Eco.Gameplay.dll
Syntax
public interface ISessionAuthorizer
Methods
AuthorizeEntity(StrangeUser)
Checks if the StrangeCloud.Service.Client.Contracts.StrangeUser instance is authorized to connect to this server.
Declaration
bool AuthorizeEntity(StrangeUser session)
Parameters
| Type | Name | Description |
|---|---|---|
| StrangeCloud.Service.Client.Contracts.StrangeUser | session | StrangeCloud.Service.Client.Contracts.StrangeUser instance to authorize |
Returns
| Type | Description |
|---|---|
| System.Boolean |
|