Vanguard comes with a JSON API which you can use to build your mobile, desktop, or web applications around Vanguard, from simple username/password authentication to user management.
Keep in mind that you will need to enable the API itself (which is disabled by default) as explained in the configuration section.
The complete API documentation is available at the following URL: https://api-docs.vanguardapp.io/