- update apis for login and logout, - make OIDC routes and setup optional, - refactor entrypoint to open up http testing
48 lines
954 B
JSON
48 lines
954 B
JSON
{
|
|
"Title": "Authentication",
|
|
"Package": "auth",
|
|
"Interface": "Auth",
|
|
"Struct": null,
|
|
"Parameters": null,
|
|
"Protocol": "",
|
|
"Authentication": [],
|
|
"Path": "/auth",
|
|
"APIs": [
|
|
{
|
|
"Name": "check",
|
|
"Method": "GET",
|
|
"Title": "Check JWT token",
|
|
"Path": "/check",
|
|
"Parameters": {}
|
|
},
|
|
{
|
|
"Name": "login",
|
|
"Method": "POST",
|
|
"Title": "Login user",
|
|
"Path": "/login",
|
|
"Parameters": {
|
|
"post": [
|
|
{
|
|
"name": "username",
|
|
"required": true,
|
|
"title": "Username",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "password",
|
|
"required": true,
|
|
"title": "Password",
|
|
"type": "string"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"Name": "logout",
|
|
"Method": "GET",
|
|
"Title": "Delete JWT token (Sign Out)",
|
|
"Path": "/logout",
|
|
"Parameters": {}
|
|
}
|
|
]
|
|
} |