TlsClient
Summary
Creates a client to connect to TLS web service.
Constructor
TlsClient
Syntax
TlsClient
(
-
webServiceUrl
-
accessToken
-
[certificate]
Summary
Parameters:
Example:
const OpenVeoClient = require('@openveo/rest-nodejs-client').OpenVeoClient;
const client = new TlsClient(
'https://tls-web-service-host/path/to/web/service',
'access token',
'/absolute/path/to/full/chain/certificate.crt'
);
Methods
getAuthenticationHeader
Syntax
Summary
Builds authentication headers.
Returns:
Object:
The authentication headers to send with each request
Properties
authenticateRequest
Syntax
Summary
The authenticate request to get an access token.
As TLS does not have an authentication request, this is a fake request.