MSP-8999 add userAuthorization

This commit is contained in:
chirkovau committed 2026-11-24 12:12:08 +03:00
1 parent 4e924575ce
commit f06db36390
10 files changed
+360

No files matched your search

+9
View File
@@ -15,3 +15,12 @@ type UserAuthData struct {
IdentityHeader string
ExtraHeaders map[string][]string
}
type UserAuthorizeRequest struct {
Identity string
Permission string
}
type UserAuthorizeResponse struct {
Authorized bool
}