Files
isp-gate-service/domain/system.go
T
txix 602a2a1ac4
Create and publish a Docker image / build-and-push-image (push) Canceled after 0s
2026-01-27 13:25:45: merge [main:e5e723811e7a9dc57a6ff5d1c067c07c23a97210];
2026-01-27 13:25:45 +03:00

31 lines
451 B
Go

package domain
type AuthenticateRequest struct {
Token string
}
type AuthenticateResponse struct {
Authenticated bool
ErrorReason string
AuthData *AuthData
}
type AuthorizeRequest struct {
ApplicationId int
HttpMethod string
Endpoint string
}
type AuthorizeResponse struct {
Authorized bool
}
type AdminAuthorizeRequest struct {
AdminId int
Permission string
}
type AdminAuthorizeResponse struct {
Authorized bool
}