noauth

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 27 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	ServerConfig
	// contains filtered or unexported fields
}

func NewServer

func NewServer(conf *ServerConfig) *Server

func (*Server) Run

func (s *Server) Run(ctx context.Context) error

type ServerConfig

type ServerConfig struct {
	Issuer                string `json:"issuer"`
	ClientID              string `json:"clientID"`
	ClientSecret          string `json:"clientSecret"`
	RedirectURI           string `json:"redirectURI"`
	ManagementAPIEndpoint string `json:"managementAPIEndpoint"`
	Port                  int    `json:"port"`
	Debug                 bool   `json:"debug"`

	Logger *zap.SugaredLogger
}

func (*ServerConfig) DeepCopy

func (in *ServerConfig) DeepCopy() *ServerConfig

func (*ServerConfig) DeepCopyInto

func (in *ServerConfig) DeepCopyInto(out *ServerConfig)

Jump to

Keyboard shortcuts

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