MSP-8999 add userAuthorization
This commit is contained in:
1 parent
4e924575ce
commit
f06db36390
10 files changed
+360
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user