node_modules/@adonisjs/auth/src/Middleware/Auth.js
/**
   * Called when authenticating user for websocket request
   *
   * @method wsHandle
   *
   * @param {Object}   ctx       Request context
   * @param {Function} next
   * @param {Array}    schemes   Schemes for which the user must be validated.
   *                             If no scheme is defined, then default scheme from config is used.
   *
   * @return {void}
   */
Called when authenticating user for websocket request
@method wsHandle

@param {Object}   ctx       Request context
@param {Function} next
@param {Array}    schemes   Schemes for which the user must be validated.
If no scheme is defined, then default scheme from config is used.

@return {void}
Called when authenticating user for websocket request @method wsHandle @param { Object } ctx Request context @param { Function } next @param { Array } schemes Schemes for which the user must be validated . If no scheme is defined then default scheme from config is used . @return { void }
async wsHandle ({ auth }, next, schemes) {
    await this._authenticate(auth, schemes)
    auth.current = auth.authenticatorInstance
    await next()
  }
async wsHandle ( { auth } , next , schemes ) { await this . _authenticate ( auth , schemes ) auth . current = auth . authenticatorInstance await next ( ) }
Called when authenticating user for websocket request
 @method wsHandle
Called when authenticating user for websocket request @method wsHandle
/**
     * For compatibility with the old API
     */