feat: authsession service
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package ports
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"galaxy/authsession/internal/domain/gatewayprojection"
|
||||
)
|
||||
|
||||
// GatewaySessionProjectionPublisher publishes gateway-facing session snapshots
|
||||
// after source-of-truth session changes.
|
||||
type GatewaySessionProjectionPublisher interface {
|
||||
// PublishSession writes or propagates snapshot in the gateway-facing
|
||||
// projection model.
|
||||
PublishSession(ctx context.Context, snapshot gatewayprojection.Snapshot) error
|
||||
}
|
||||
Reference in New Issue
Block a user