Class
caplin.services.providers

OpenPermissionService

The caplin.services.providers.OpenPermissionService returns ALL to all permission requests. You may need to provide permission sets so that that the OpenPermissionService can return lists when they are requested (for example, currency pairs). You can achieve this by using the #addPermissionSet() method.

Constructor Summary

Attributes Name and Description
caplin.services.providers.OpenPermissionService()

Constructs a caplin.services.providers.OpenPermissionService.

Method Summary

Attributes Name and Description
void addPermissionSet(String sNamespace, Array pPermissionSet)

Adds a permission set for the specified namespace, for example: oPermissionService.addPermissionSet("CurrencyPair", ["GBPUS", "GBPAUD"]);

Constructor Detail

caplin.services.providers.OpenPermissionService()

Constructs a caplin.services.providers.OpenPermissionService.

Method Detail

void addPermissionSet(String sNamespace, Array pPermissionSet)

Adds a permission set for the specified namespace, for example: oPermissionService.addPermissionSet("CurrencyPair", ["GBPUS", "GBPAUD"]);

Parameters
String sNamespace The namespace for the permission set.
Array pPermissionSet The list of permissions to return for the namespace.