Files
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

39 lines
628 B
Go

package domain
type AuthenticateAppResponse struct {
Authenticated bool
ErrorReason string
AuthData *AppAuthData
}
type AppAuthData struct {
AppName string
SystemId int
DomainId int
ServiceId int
ApplicationId int
}
type ApplicationToken struct {
AppToken string
AppName string
}
type UserToken struct {
Token string
}
type AuthenticateUserResponse struct {
Authenticated bool
SkipUserAuth bool
ErrorReason string
AuthData *UserAuthData
}
type UserAuthData struct {
SkipAppAuth bool
Identity string
IdentityHeader string
ExtraHeaders map[string][]string
}