// NewPostOutbox returns a new REST handler to post activities to the outbox.
NewPostOutbox returns a new REST handler to post activities to the outbox.
// NewPostOutbox returns a new REST handler to post activities to the outbox .
func NewPostOutbox(cfg *Config, ob outbox, s store.Store, verifier signatureVerifier, tm authTokenManager) *Outbox {
	h := &Outbox{
		Config:   cfg,
		endpoint: fmt.Sprintf("%s%s", cfg.BasePath, "/outbox"),
		ob:       ob,
		marshal:  json.Marshal,
	}
	h.AuthHandler = NewAuthHandler(cfg, "/outbox", http.MethodPost, s, verifier, tm, h.authorizeActor)
	return h
}
func NewPostOutbox ( cfg * Config , ob outbox , s store . Store , verifier signatureVerifier , tm authTokenManager ) * Outbox { h := & Outbox { Config : cfg , endpoint : fmt . Sprintf ( " " , cfg . BasePath , " " ) , ob : ob , marshal : json . Marshal , } h . AuthHandler = NewAuthHandler ( cfg , " " , http . MethodPost , s , verifier , tm , h . authorizeActor ) return h }
NewPostOutbox returns a new REST handler to post activities to the outbox.
NewPostOutbox returns a new REST handler to post activities to the outbox .