mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-03 17:55:03 +02:00
Added possibility to authenticate with the given API token
This commit is contained in:
parent
3bc6e61869
commit
bcd41c4d9b
5 changed files with 125 additions and 3 deletions
|
@ -21,6 +21,9 @@ security:
|
|||
user_checker: App\Security\UserChecker
|
||||
entry_point: form_login
|
||||
|
||||
access_token:
|
||||
token_handler: App\Security\ApiTokenHandler
|
||||
|
||||
# Enable user impersonation
|
||||
switch_user: { role: CAN_SWITCH_USER }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue