mock

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMockController

func NewMockController(
	logger logging.Logger,
	config Config,
	authFlow authflow.AuthenticationFlow,
) common.Provider

Types

type Config

type Config struct {
	common.ProviderConfig
}

type LandingTemplate

type LandingTemplate struct {
	HasInvite  bool
	FormAction string
}

type MockController

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

func (*MockController) AppendRoutes

func (m *MockController) AppendRoutes(router *mux.Router)

func (*MockController) Description

func (m *MockController) Description() string

func (*MockController) LandingHandler

func (m *MockController) LandingHandler(w http.ResponseWriter, r *http.Request)

func (*MockController) LoginHandler

func (m *MockController) LoginHandler(w http.ResponseWriter, r *http.Request)

func (*MockController) Name

func (m *MockController) Name() string

func (*MockController) Path

func (m *MockController) Path() string

Jump to

Keyboard shortcuts

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