3using System.Threading.Tasks;
28 : base(
"Account/RemoteReferences",
29 new KeyValuePair<Type,
Expression>(typeof(Dictionary<string, object>), new
Expression(jsonPattern)),
49 SortedDictionary<CaseInsensitiveString, RemoteIdentityReference> ByDomain =
new SortedDictionary<CaseInsensitiveString, RemoteIdentityReference>();
55 List<NamedDictionary<string, object>> References =
new List<NamedDictionary<string, object>>();
61 {
"domain", Ref.RemoteDomain.Value },
62 {
"legalId", Ref.LegalId.Value }
68 {
"References", References.ToArray() }
A Named dictionary is a dictionary, with a local name and a namespace. Use it to return content that ...
Represents an HTTP request.
Represets a response of an HTTP client request.
Static interface for database persistence. In order to work, a database provider has to be assigned t...
static Task< IEnumerable< object > > Find(string Collection, params string[] SortOrder)
Finds objects in a given collection.
This filter selects objects that have a named field equal to a given value.
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.
Class managing a script expression.
Contains a reference to a legal identity that is used on a remote neuron for administrative purposes.
CaseInsensitiveString RemoteDomain
Remote domain.
Allows the client to login.
Gets a list of remote references pointing to legal identities belonging to the account.
override async Task POST(HttpRequest Request, HttpResponse Response, Dictionary< string, IElement > Parameters)
Executes the POST method on the resource.
RemoteReferences()
Gets a list of remote references pointing to legal identities belonging to the account.
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