createAuthenticatedUrl(url, method, skew = 0) {
		const timestamp = this._getTimestamp() + skew;

		const signatureData = `${method.toUpperCase()}&${decodeURI(url.pathname).toLowerCase()}&${timestamp}`;
		const signedAppData = ValenceAuth._sign(signatureData, this._appKey);
		const signedUserData = ValenceAuth._sign(signatureData, this._userKey);

		/* eslint-disable camelcase */
		const parameters = {
			x_a: this._appId,
			x_b: this._userId,
			x_c: signedAppData,
			x_d: signedUserData,
			x_t: timestamp
		};
		/* eslint-enable camelcase */

		return ValenceAuth._getTokenUrl(url, parameters);
	}
/**
	 * Builds an authenticated URL for Valence ID-Key authentication
	 * @param {URL} url The URL to authenticate
	 * @param {string} method The HTTP method
	 * @param {number} skew The clock skew in seconds
	 */
Builds an authenticated URL for Valence ID-Key authentication
@param {URL} url The URL to authenticate
@param {string} method The HTTP method
@param {number} skew The clock skew in seconds
Builds an authenticated URL for Valence ID - Key authentication @param { URL } url The URL to authenticate @param { string } method The HTTP method @param { number } skew The clock skew in seconds
createAuthenticatedUrl(url, method, skew = 0) {
		const timestamp = this._getTimestamp() + skew;
		const signatureData = `${method.toUpperCase()}&${decodeURI(url.pathname).toLowerCase()}&${timestamp}`;
		const signedAppData = ValenceAuth._sign(signatureData, this._appKey);
		const signedUserData = ValenceAuth._sign(signatureData, this._userKey);
		const parameters = {
			x_a: this._appId,
			x_b: this._userId,
			x_c: signedAppData,
			x_d: signedUserData,
			x_t: timestamp
		};
		return ValenceAuth._getTokenUrl(url, parameters);
	}
createAuthenticatedUrl ( url , method , skew = 0 ) { const timestamp = this . _getTimestamp ( ) + skew ; const signatureData = ` ${ method . toUpperCase ( ) } ${ decodeURI ( url . pathname ) . toLowerCase ( ) } ${ timestamp } ` ; const signedAppData = ValenceAuth . _sign ( signatureData , this . _appKey ) ; const signedUserData = ValenceAuth . _sign ( signatureData , this . _userKey ) ; const parameters = { x_a : this . _appId , x_b : this . _userId , x_c : signedAppData , x_d : signedUserData , x_t : timestamp } ; return ValenceAuth . _getTokenUrl ( url , parameters ) ; }
Builds an authenticated URL for Valence ID-Key authentication
 @param {URL} url The URL to authenticate
 @param {string} method The HTTP method
 @param {number} skew The clock skew in seconds
Builds an authenticated URL for Valence ID - Key authentication @param { URL } url The URL to authenticate @param { string } method The HTTP method @param { number } skew The clock skew in seconds
/* eslint-disable camelcase */ /* eslint-enable camelcase */