Files
isp-gate-service/entity/system.go
T
txix 394bbc82e2
Create and publish a Docker image / build-and-push-image (push) Canceled after 0s
2026-04-06 15:36:37: merge [main:48e53159863d08bc31c4e926d73c0bb4341128ae];
2026-04-06 15:36:37 +03:00

31 lines
454 B
Go

package entity
type AuthenticateRequest struct {
Token string
}
type AuthenticateResponse struct {
Authenticated bool
ErrorReason string
AuthData *AppAuthData
}
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
}