public class TaskRouterTaskQueueCapability extends TaskRouterCapability
CapabilityToken.DomainException
Constructor and Description |
---|
TaskRouterTaskQueueCapability(String accountSid,
String authToken,
String workspaceSid,
String taskQueueSid)
Create a new Capability object to authorize taskqueue clients to interact
with the TaskRouter service.
|
addPolicy, addPolicy, allow, allowDelete, allowDeleteSubresources, allowFetchSubresources, allowTaskReservationUpdates, allowUpdates, allowUpdatesSubresources, allowWorkerActivityUpdates, allowWorkerFetchAttributes, deny, generateToken, generateToken
public TaskRouterTaskQueueCapability(String accountSid, String authToken, String workspaceSid, String taskQueueSid)
accountSid
- Account to authorize actions forauthToken
- Auth token for the account. Used to sign tokens and will not
be included in the generated tokens.workspaceSid
- Workspace to authorize tokens for.taskQueueSid
- TaskQueue to create tokens for.Copyright © 2011 Twilio, Inc. All Rights Reserved.