Class Connector
Hierarchy
- Connector
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
Properties
Optional appSnapshot
Optional handlerInputs
Property to set an array of HandlerInput instances to be transmitted to connector handlers from the connector app.
Don’t transmit sensitive information through handlerInputs because it could be susceptible to logging and internal storage.
secrets
Property is used to transmit sensitive information to connector handlers from the connector app.
In Tableau apps, Secrets are excluded from storage within saved workbooks. Secrets are securely retained in Tableau Server’s keychain.
Accessors
oAuthCredentials
- get oAuthCredentials(): OAuthCredentials
-
Returns OAuthCredentials
Methods
cancel
get
- get(url, requestOptions?): Promise<AjaxResponse<any>>
-
Send a GET request.
By default, it sends the request directly to the endpoint. When requestOptions.bypassCorsPolicy is set, the request will be forwarded to EPS. This can be used when a server has certain CORS policy. When EPS receives the forwarded request, it will validate the connector's permission settings defined in the connector.json.
The function also validates the connector's permission settings on the client.
Parameters
-
url: string
-
OptionalrequestOptions: ConnectorRequestOptions
Returns Promise<AjaxResponse<any>>
-
post
- post(url, body?, requestOptions?): Promise<AjaxResponse<any>>
-
Send a POST request.
By default, it sends the request directly to the endpoint. When requestOptions.bypassCorsPolicy is set, the request will be forwarded to EPS. This can be used when a server has certain CORS policy. When EPS receives the forwarded request, it will validate the connector's permission settings defined in the connector.json.
The function also validates the connector's permission settings on the client.
Parameters
-
url: string
-
Optionalbody: object -
OptionalrequestOptions: ConnectorRequestOptions
Returns Promise<AjaxResponse<any>>
-
submit
Generated using TypeDoc
The Connector class is a facade class used to talk with the eps main server.