In many application it is a need to login to hotspot from external server:
It is very valuable if it is a way to login a user to hotspot by command line or api.
As an example, I want to login user1 with ip1 to access internet.
Some application:
Example 1:
user login through wifi with 802.1x protocol and we want to automatically connect to hotspot.
Example 2:
using OAuth.
Example 3:
single sign-on: In some organization, there is a need to use all services using only one password.