Field DefaultUserIdPreconditionQueryName
The default query parameter name for the user ID precondition that is used to ensure the cookie session user ID matches the expected user ID
making the API request. Value is "if-userId".
Namespace: Singulink.Net.Http.Api.Client
Assembly: Singulink.Net.Http.Api.Client.dll
Syntax
protected const string DefaultUserIdPreconditionQueryName = "if-userId"
Returns
| Type | Description |
|---|---|
| string | The default query parameter name for the user ID precondition that is used to ensure the cookie session user ID matches the expected user ID making the API request. Value is "if-userId". |
Remarks
The user ID precondition can be included automatically by overriding GetDefaultQueryParams(string) to yield a tuple with this key and the user ID value, or it can be passed explicitly in per-call query string parameters.