Skip to content

Commit 7fe3766

Browse files
committed
add setAPiKey
1 parent 3382b03 commit 7fe3766

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/woqlClient.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ function WOQLClient(serverUrl, params) {
4545
this.databaseList = []
4646
}
4747

48+
49+
/**
50+
*
51+
* @param {string} accessToken
52+
*/
4853
WOQLClient.prototype.setApiKey = function (accessToken){
4954
this.localAuth({key: accessToken, type: "jwt"})
5055
}

0 commit comments

Comments
 (0)