preauthfunc

package
v0.0.0-...-a3a6de1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Func

type Func interface {
	PreAuthentication(_ context.Context, funcArn, userName string) error
}

type Lambda

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

func NewLambda

func NewLambda(client lambdaiface.LambdaAPI) *Lambda

func (*Lambda) PreAuthentication

func (l *Lambda) PreAuthentication(
	ctx context.Context,
	funcArn string,
	userName string,
) error

type Payload

type Payload struct {
	UserName string `json:"username"`
}

Jump to

Keyboard shortcuts

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