fake

package
v2.3.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2018 License: OSL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallbackController

type CallbackController struct {
	responder.RedirectAware
	// contains filtered or unexported fields
}

func (*CallbackController) Get

func (*CallbackController) Inject

func (c *CallbackController) Inject(
	redirectAware responder.RedirectAware,
	mappingService *domain.UserMappingService,
	config *struct {
		UserData config.Map `inject:"config:auth.fakeUserData"`
	},
)

type LoginController

type LoginController struct {
	responder.RedirectAware
	responder.RenderAware
	// contains filtered or unexported fields
}

func (*LoginController) Get

func (l *LoginController) Get(ctx context.Context, request *web.Request) web.Response

func (*LoginController) Inject

func (l *LoginController) Inject(
	redirectAware responder.RedirectAware,
	renderAware responder.RenderAware,
	authManager *application.AuthManager,
	cfg *struct {
		FakeLoginTemplate string `inject:"config:auth.fakeLoginTemplate"`
	},
)

type LogoutController

type LogoutController struct {
	responder.RedirectAware
	// contains filtered or unexported fields
}

func (*LogoutController) Get

func (l *LogoutController) Get(ctx context.Context, request *web.Request) web.Response

func (*LogoutController) Inject

func (l *LogoutController) Inject(
	redirectAware responder.RedirectAware,
	authManager *application.AuthManager,
)

Jump to

Keyboard shortcuts

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