server

package
v1.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2020 License: MIT Imports: 33 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyCertificateMiddleware added in v1.5.0

func VerifyCertificateMiddleware(store ScepVerifyDepot, logger log.Logger) mdm.Middleware

Types

type ScepVerifyDepot added in v1.5.0

type ScepVerifyDepot interface {
	HasCN(cn string, allowTime int, cert *x509.Certificate, revokeOldCertificate bool) (bool, error)
}

type Server

type Server struct {
	ConfigPath          string
	Depsim              string
	PubClient           pubsub.PublishSubscriber
	DB                  *bolt.DB
	ServerPublicURL     string
	SCEPChallenge       string
	SCEPClientValidity  int
	TLSCertPath         string
	SCEPDepot           *boltdepot.Depot
	UseDynSCEPChallenge bool
	GenDynSCEPChallenge bool
	SCEPChallengeDepot  *challengestore.Depot
	ProfileDB           profile.Store
	ConfigDB            config.Store
	RemoveDB            block.Store
	CommandWebhookURL   string
	DEPClient           *dep.Client
	SyncDB              *syncbuiltin.DB
	NoCmdHistory        bool

	APNSPushService apns.Service
	CommandService  command.Service
	MDMService      mdm.Service
	EnrollService   enroll.Service
	SCEPService     scep.Service
	ConfigService   config.Service

	WebhooksHTTPClient *http.Client
}

func (*Server) CreateDEPSyncer

func (c *Server) CreateDEPSyncer(logger log.Logger) (sync.Syncer, error)

func (*Server) Setup

func (c *Server) Setup(logger log.Logger) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL