Functions - agents

From The Socknet

Jump to: navigation, search

agents is used to verify that the agent sending an incoming request is permitted to act on behalf of a user.

Specification

GET agents

->
{ agents: ["255.21.2.4", "255.21.3.4", "mysocknet.example.com"]
  ...
}

agents may be called via GET or POST.

No fields are specified for the request.

The response contains the field agents which holds an array of strings containing IP addresses and/or domain names of computers that may make requests on behalf of the user. See IP Verification.

Support

Providers are required to support this function.

Services are not required to support this function, and in fact, agents are specified in a different way for services.

Further Reading

Personal tools