Add support for fix user list credentials

This commit is contained in:
allegroai
2019-07-17 18:15:58 +03:00
parent b7614622fc
commit 1a00f29415
3 changed files with 46 additions and 11 deletions

View File

@@ -52,6 +52,22 @@ login {
}
}
logout {
internal: false
allow_roles = [ "*" ]
"2.2" {
description: """Removes the authentication cookie from the current session"""
request {
type: object
additionalProperties: false
}
response {
type: object
additionalProperties: false
}
}
}
get_token_for_user {
"2.1" {
description: """Get a token for the specified user. Intended for internal use."""