mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2026-02-24 14:05:36 +01:00
Add simple auth (#186)
This commit is contained in:
@@ -90,6 +90,7 @@ definitions:
|
||||
required: [ id, blocked, roles, apikey ]
|
||||
properties:
|
||||
id: { type: string }
|
||||
password: { type: string }
|
||||
blocked: { type: boolean }
|
||||
apikey: { type: boolean }
|
||||
roles: { type: array, items: { type: string } }
|
||||
@@ -101,7 +102,9 @@ definitions:
|
||||
blocked: { type: boolean }
|
||||
apikey: { type: boolean }
|
||||
roles: { type: array, items: { type: string } }
|
||||
salt: { type: string }
|
||||
sha256: { type: string } # for api keys
|
||||
sha512: { type: string } # for users
|
||||
|
||||
UserResponse:
|
||||
type: object
|
||||
|
||||
Reference in New Issue
Block a user