2using System.Collections.Generic;
3using System.Threading.Tasks;
23 : base(
"Tokens/GetCreationAttributes",
24 new KeyValuePair<Type,
Expression>(typeof(Dictionary<string, object>), new
Expression(jsonPattern)),
48 {
"trustProvider", LegalIdentityConfiguration.HasApprovedLegalIdentities ?LegalIdentityConfiguration.LatestApprovedLegalIdentityId :
null }
A Named dictionary is a dictionary, with a local name and a namespace. Use it to return content that ...
Static class managing loading of resources stored as embedded resources or in content files.
static string LoadResourceAsText(string ResourceName)
Loads a text resource from an embedded resource.
Represents an HTTP request.
Represets a response of an HTTP client request.
async Task Return(object Object)
Returns an object to the client. This method can only be called once per response,...
Class managing a script expression.
Marketplace processor, brokering sales of items via tenders and offers defined in smart contracts.
Abstract base class for agent resources supporting the POST method.
static AccountUser AssertUserAuthenticated(HttpRequest Request)
Makes sure the request is made by an authenticated API user.
const string AgentNamespace
https://waher.se/Schema/BrokerAgent.xsd
Gets current creation attributes.
GetCreationAttributes()
Gets current creation attributes.
override async Task POST(HttpRequest Request, HttpResponse Response, Dictionary< string, IElement > Parameters)
Executes the POST method on the resource.
Service Module hosting the XMPP broker and its components.