Click or drag to resize

ITwilioAuthenticationGenerateTwilioToken Method

Generates a token based on the type you provide in the type parameter

Namespace:  NetQuarry.Services
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
string GenerateTwilioToken(
	string userId,
	TwilioTokenType type
)

Parameters

userId
Type: SystemString
The name of the user for generating Twilio Client tokens and TaskRouter worker tokens.
type
Type: NetQuarry.ServicesTwilioTokenType
The type of token to generate

Return Value

Type: String
A JSON Web Token string
See Also