Beamable SDK
Public Member Functions | Properties | List of all members
Beamable.Server.RequestContext Class Reference

This type defines the Microservice RequestContext. More...

Inheritance diagram for Beamable.Server.RequestContext:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Server.RequestContext:
Collaboration graph
[legend]

Public Member Functions

bool HasScopes (IEnumerable< string > scopes)
 
bool HasScopes (params string[] scopes)
 
void CheckAdmin ()
 
void RequireScopes (params string[] scopes)
 
 RequestContext (string cid, string pid, long id, int status, long userId, string path, string method, string body, HashSet< string > scopes=null)
 
 RequestContext (string cid, string pid)
 
 RequestContext (string cid, string pid, int id, long userId, string path, string method, string body)
 

Properties

string Cid [get]
 
string Pid [get]
 
long Id [get]
 
int Status [get]
 
long UserId [get]
 
string Path [get]
 
string Method [get]
 
string Body [get]
 
HashSet< string > Scopes [get]
 
bool IsEvent [get]
 
bool IsInvalidUser [get]
 Informs us whether or not this request context is pointing to any valid user (userId >= 0). If it isn't, customer must call Microservice.AssumeUser in custom Microservice's code before making requests that access player-specific data.
 
int Id [get]
 

Detailed Description

This type defines the Microservice RequestContext.

Related Links

img beamable-logo


The documentation for this class was generated from the following files: