Agent

From The Contingency Market

Jump to: navigation, search

An agent represents a user of the contingency market. An agent may have one or more roles, e.g. publisher, fan, administrator, reviewer, musician, website, pop group, etc.

A fairly simple method, provided for a simple confidence test, if not convenience is GetAuthenticatedAgentDisplayName().

You can count all the registered agents using CountAgents() and list their public details using ListAgents().

You can get the public details of a specific agent using GetAgent(), or public and private details of the authenticated agent using GetAuthenticatedAgent().

You can change the authenticated agent's public name using SetAuthenticatedAgentDisplayName() and change their public or private details using SetAuthenticatedAgentPublicDetails() or SetAuthenticatedAgentPrivateDetails() respectively.

You can issue a new ticket for an agent using NewAgentTicket(), and subsequently retrieve the agent from that ticket with confidence that the ticket was issued by that agent - using GetAgentFromTicket().

Views
Personal tools