// link third-party account or log into server via third-party authentication. Stores response if successful
authenticate(name, redirectUri, userData)
Doesn't match the code:
/**
* Authenticate with third-party
*
* @param {string} name Name of the provider
* @param {[{}]} [userData] Additional data send to the authentication server
*
* @return {Promise<any>} The authentication server response
*/
authenticate(name: string, userData: {} = {}): Promise<any> {
The API documentation in the readme.md
Doesn't match the code: