lib/PassportClient.js
function(token, userId, applicationId) {
    return new Promise((resolve, reject) => {
      this._start()
          .uri('/api/jwt/refresh')
          .urlParameter('token', token)
          .urlParameter('userId', userId)
          .urlParameter('applicationId', applicationId)
          .delete()
          .go(this._responseHandler(resolve, reject));
    });
  }
function(token, userId, applicationId) {
    return new Promise((resolve, reject) => {
      this._start()
          .uri('/api/jwt/refresh')
          .urlParameter('token', token)
          .urlParameter('userId', userId)
          .urlParameter('applicationId', applicationId)
          .delete()
          .go(this._responseHandler(resolve, reject));
    });
  }
function ( token , userId , applicationId ) { return new Promise ( ( resolve , reject ) => { this . _start ( ) . uri ( '/api/jwt/refresh' ) . urlParameter ( 'token' , token ) . urlParameter ( 'userId' , userId ) . urlParameter ( 'applicationId' , applicationId ) . delete ( ) . go ( this . _responseHandler ( resolve , reject ) ) ; } ) ; }
Revokes a single refresh token, all tokens for a user or all tokens for an application. If you provide a user id
and an application id, this will delete all the refresh tokens for that user for that application.

@param {?string} token (Optional) The refresh token to delete.
@param {?string} userId (Optional) The user id whose tokens to delete.
@param {?string} applicationId (Optional) The application id of the tokens to delete.
@return {Promise} A Promise for the Passport call.
Revokes a single refresh token all tokens for a user or all tokens for an application . If you provide a user id and an application id this will delete all the refresh tokens for that user for that application .