This type defines the Microservice RequestContext.
More...
|
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) |
|
|
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] |
|
This type defines the Microservice RequestContext.
Related Links

The documentation for this class was generated from the following files:
- com.beamable.server/SharedRuntime/RequestContext.cs
- com.beamable.server/Template/~/dbmicroservice/RequestContext.cs