Show / Hide Table of Contents

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

true if the session is authorized. Otherwise false to continue processing.

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾