2026-04-09 10:01:23 +08:00
|
|
|
package openidentity
|
|
|
|
|
|
2026-08-21 00:41:07 +08:00
|
|
|
import "code.tczkiot.com/wlw/ai-agent/internal/pkg/enums"
|
2026-04-09 10:01:23 +08:00
|
|
|
|
2026-08-21 00:41:07 +08:00
|
|
|
// ExternalUser is a be-system user identity adapted for customer-service
|
|
|
|
|
// conversations. Authentication is completed by the host before this value is
|
|
|
|
|
// created; this package contains no token parsing or verification.
|
2026-04-28 11:10:47 +08:00
|
|
|
type ExternalUser struct {
|
2026-04-09 10:01:23 +08:00
|
|
|
ExternalSource enums.ExternalSource `json:"externalSource"`
|
|
|
|
|
ExternalID string `json:"externalId"`
|
|
|
|
|
ExternalName string `json:"externalName"`
|
|
|
|
|
}
|