Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIdentityServer ¶
func NewIdentityServer(env Env, public bool, options ...IdentityServerOption) *apiServer
NewIdentityServer returns an implementation of identity.APIServer.
Types ¶
type Env ¶
type Env struct { DB *pachsql.DB DexStorage storage.Storage Config *pachconfig.Configuration BackgroundContext context.Context }
Env is the set of dependencies required by the API server
func EnvFromServiceEnv ¶
func EnvFromServiceEnv(senv serviceenv.ServiceEnv) Env
type IdentityServerOption ¶
type IdentityServerOption func(web *dexWeb)
func UnitTestOption ¶
func UnitTestOption(addr, assetsDir string) IdentityServerOption
Click to show internal directories.
Click to hide internal directories.