Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 997 Bytes

File metadata and controls

31 lines (19 loc) · 997 Bytes

authenticator-api

Swagger file

https://localhost:8084/v2/api-docs

Swagger-UI

https://localhost:8084/swagger-ui.html

Register

curl -v --cacert conf/ca.pem --cert conf/pkey.pem --key conf/pkey.key --pass changeit -d '{"username":"mememe", "password":"password", "account":"77853449"}' -H "Content-Type: application/json" -X POST https://localhost:8084/register

Authenticate

curl -v --cacert conf/ca.pem --cert conf/pkey.pem --key conf/pkey.key --pass changeit -d '{"username":"mememe", "password":"password"}' -H "Content-Type: application/json" -X POST https://localhost:8084/authenticate

References