MSP-437 add system service domains
This commit is contained in:
1 parent
12908ef2dc
commit
963d8a1dfe
2 files changed
+28
No files matched your search
@@ -0,0 +1,8 @@
|
||||
package domain
|
||||
|
||||
type AuthData struct {
|
||||
SystemId int
|
||||
DomainId int
|
||||
ServiceId int
|
||||
ApplicationId int
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package domain
|
||||
|
||||
type AuthenticateRequest struct {
|
||||
Token string
|
||||
}
|
||||
|
||||
type AuthenticateResponse struct {
|
||||
Authenticated bool
|
||||
ErrorReason string
|
||||
AuthData *AuthData
|
||||
}
|
||||
|
||||
type AuthorizeRequest struct {
|
||||
ApplicationId int
|
||||
Endpoint string
|
||||
}
|
||||
|
||||
type AuthorizeResponse struct {
|
||||
Authorized bool
|
||||
}
|
||||
Reference in new issue
Block a user