noauth_server

package
v0.0.0-...-8122643 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Config

type Config struct {
	Auth                     auth.Auth
	Server                   api_server.Server
	DefaultPoolServiceName   string
	DefaultPoolServiceType   string
	DefaultPublicPoolService bool
}

type NoAuthServer

type NoAuthServer struct {
	// contains filtered or unexported fields
}

func New

func New(config ...Config) *NoAuthServer

func (*NoAuthServer) ApiServer

func (s *NoAuthServer) ApiServer() api_server.Server

func (*NoAuthServer) Auth

func (s *NoAuthServer) Auth() auth.Auth

func (*NoAuthServer) Config

func (s *NoAuthServer) Config() interface{}

func (*NoAuthServer) Construct

func (s *NoAuthServer) Construct(config ...Config)

func (*NoAuthServer) Init

func (*NoAuthServer) PoolService

func (s *NoAuthServer) PoolService() *pool.PoolServiceBinding

func (*NoAuthServer) SetConfigFromPoolService

func (s *NoAuthServer) SetConfigFromPoolService(service pool.PoolService, public ...bool)

func (*NoAuthServer) SetPropagateAuthUser

func (s *NoAuthServer) SetPropagateAuthUser(val bool)

func (*NoAuthServer) SetPropagateContextId

func (s *NoAuthServer) SetPropagateContextId(val bool)

type NoAuthServerConfig

type NoAuthServerConfig struct {
	PoolServiceConfig
}

type PoolServiceConfig

type PoolServiceConfig struct {
	POOL_SERVICE_NAME   string
	POOL_SERVICE_TYPE   string
	PUBLIC_POOL_SERVICE bool
}

func (*PoolServiceConfig) IsPublic

func (p *PoolServiceConfig) IsPublic() bool

func (*PoolServiceConfig) NameOrRole

func (p *PoolServiceConfig) NameOrRole() string

func (*PoolServiceConfig) Type

func (p *PoolServiceConfig) Type() string

type PoolServiceConfigI

type PoolServiceConfigI interface {
	NameOrRole() string
	Type() string
	IsPublic() bool
}

type Server

type Server interface {
	ApiServer() api_server.Server
	Auth() auth.Auth
}

Jump to

Keyboard shortcuts

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