You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method login is confusing, it isn't actually logging in and does not require any information to LOGIN.
Everybody understands the term login to mean gaining secure access to something by supplying account or other secret information.
Login is really fetching the details about the current session, perhaps it would be better if it were renamed to getCredentials (or getAccount) which more correctly identifies what it is actually doing.
Rather than simply rename and break everybody's code perhaps create a new method getCredentials (or getAccount) (a duplicate of login) and just mark login as:
login has been DEPRECATED and will be removed in the near future, please update your code to use getCredentials (or getAccount)
Perhaps with release 2.0.0, version with LAN access tried and tested ?
--
Steve
The text was updated successfully, but these errors were encountered:
Martin,
The method login is confusing, it isn't actually logging in and does not require any information to LOGIN.
Everybody understands the term login to mean gaining secure access to something by supplying account or other secret information.
Login is really fetching the details about the current session, perhaps it would be better if it were renamed to getCredentials (or getAccount) which more correctly identifies what it is actually doing.
Rather than simply rename and break everybody's code perhaps create a new method getCredentials (or getAccount) (a duplicate of login) and just mark login as:
login has been DEPRECATED and will be removed in the near future, please update your code to use getCredentials (or getAccount)
Perhaps with release 2.0.0, version with LAN access tried and tested ?
--
Steve
The text was updated successfully, but these errors were encountered: