Skip to content

Commit 43380b7

Browse files
committed
added deprecation warning
1 parent 8d1db61 commit 43380b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ApiClient.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@
755755
};
756756

757757
/**
758-
* @deprecated
758+
* @deprecated since version 4.1.0
759759
* Configures the current instance of ApiClient with a fresh OAuth JWT access token from DocuSign
760760
* @param privateKeyFilename the filename of the RSA private key
761761
* @param oAuthBasePath DocuSign OAuth base path (account-d.docusign.com for the developer sandbox
@@ -766,6 +766,7 @@
766766
* @param callback the callback function.
767767
*/
768768
exports.prototype.configureJWTAuthorizationFlow = function(privateKeyFilename, oAuthBasePath, clientId, userId, expiresIn, callback) {
769+
console.warn('configureJWTAuthorizationFlow is a deprecated function! Please use requestJWTUserToken()')
769770
var _this = this;
770771
var jwt = require('jsonwebtoken')
771772
, fs = require('fs')

0 commit comments

Comments
 (0)