C# 클래스 Foundation.Server.Infrastructure.OrtcHelper

ORTC server side API that contains ORTC factories as plug-ins.
파일 보기 프로젝트 열기: NVentimiglia/Unity3d-Foundation

공개 메소드들

메소드 설명
GetClusterServer ( string url, String applicationKey ) : Task

Gets the cluster server.

PostAuthentication ( string authenticationToken, bool authenticationTokenIsPrivate, string applicationKey, int timeToLive, string privateKey, string[]>.Dictionary permissions ) : Task

Saves the authentication token channels permissions in the ORTC server.

메소드 상세

GetClusterServer() 공개 정적인 메소드

Gets the cluster server.
public static GetClusterServer ( string url, String applicationKey ) : Task
url string
applicationKey String
리턴 Task

PostAuthentication() 공개 정적인 메소드

Saves the authentication token channels permissions in the ORTC server.
public static PostAuthentication ( string authenticationToken, bool authenticationTokenIsPrivate, string applicationKey, int timeToLive, string privateKey, string[]>.Dictionary permissions ) : Task
authenticationToken string Authentication Token which is generated by the application server, for instance a unique session ID.
authenticationTokenIsPrivate bool Indicates whether the authentication token is private (1) or not (0).
applicationKey string Application Key that was provided to you together with the ORTC service purchasing.
timeToLive int The authentication token time to live, in other words, the allowed activity time (in seconds).
privateKey string The private key provided to you together with the ORTC service purchasing.
permissions string[]>.Dictionary The channels and their permissions (w: write/read or r: read, case sensitive).
리턴 Task