internal

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfig

func NewConfig(config *Config) error

func Nonce

func Nonce() (string, error)

Types

type Config

type Config struct {
	ClientID         string   `env:"CLIENT_ID" long:"client-id" description:"OAuth application client ID" required:"true"`
	ClientSecret     string   `env:"CLIENT_SECRET" long:"client-secret" description:"OAuth application client secret" required:"true"`
	UserCookieName   string   `` /* 159-byte string literal not displayed */
	UserCookieDomain string   `` /* 127-byte string literal not displayed */
	Scopes           string   `` /* 200-byte string literal not displayed */
	AuthServiceHost  string   `` /* 144-byte string literal not displayed */
	HashingSecret    string   `` /* 136-byte string literal not displayed */
	Domains          []string `` /* 160-byte string literal not displayed */
}

type Server

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

func NewServer

func NewServer(config *Config) *Server

func (*Server) Run

func (s *Server) Run() error

Jump to

Keyboard shortcuts

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