public class TaskRouterWorkspaceCapability extends TaskRouterCapability
CapabilityToken.DomainException| Constructor and Description |
|---|
TaskRouterWorkspaceCapability(String accountSid,
String authToken,
String workspaceSid)
Create a new Capability object to authorize workspace clients to interact
with the TaskRouter service.
|
addPolicy, addPolicy, allow, allowDelete, allowDeleteSubresources, allowFetchSubresources, allowTaskReservationUpdates, allowUpdates, allowUpdatesSubresources, allowWorkerActivityUpdates, allowWorkerFetchAttributes, deny, generateToken, generateTokenpublic TaskRouterWorkspaceCapability(String accountSid, String authToken, String workspaceSid)
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.Copyright © 2011 Twilio, Inc. All Rights Reserved.