2bbf42b741
Remove Agent Desk users, roles, login sessions, tokens, and local permission persistence. Expose the backend as an embeddable ai-agent module with host-provided subject lookup and operation authorization callbacks, and complete the frontend/backend repository split.
13 lines
508 B
Go
13 lines
508 B
Go
package openidentity
|
|
|
|
import "code.tczkiot.com/wlw/ai-agent/internal/pkg/enums"
|
|
|
|
// 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.
|
|
type ExternalUser struct {
|
|
ExternalSource enums.ExternalSource `json:"externalSource"`
|
|
ExternalID string `json:"externalId"`
|
|
ExternalName string `json:"externalName"`
|
|
}
|