fake

package
v3.0.0-alpha6 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2019 License: OSL-3.0 Imports: 7 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 {
	// contains filtered or unexported fields
}

CallbackController fake controller

func (*CallbackController) Get

func (c *CallbackController) Get(_ context.Context, request *web.Request) web.Result

Get http action

func (*CallbackController) Inject

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

Inject dependencies

type LoginController

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

LoginController fake implementation

func (*LoginController) Get

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

Get http action

func (*LoginController) Inject

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

Inject dependencies

type LogoutController

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

LogoutController fake implementation

func (*LogoutController) Get

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

Get HTTP action

func (*LogoutController) Inject

func (l *LogoutController) Inject(
	responder *web.Responder,
	authManager *application.AuthManager,
	eventPublisher *application.EventPublisher,
)

Inject dependencies

Jump to

Keyboard shortcuts

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