test

package
v0.54.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDriver

func NewDriver(t *testing.T) sdk.AuthDriver

NewDriver returns a new ldap auth driver.

func NewTestDriver added in v0.53.0

func NewTestDriver() sdk.Driver

Types

type TestDriver added in v0.53.0

type TestDriver struct {
}

func (TestDriver) CheckSigninRequest added in v0.53.0

func (t TestDriver) CheckSigninRequest(req sdk.AuthConsumerSigninRequest) error

func (TestDriver) GetUserInfoFromDriver added in v0.53.0

func (t TestDriver) GetUserInfoFromDriver(ctx context.Context, req sdk.AuthConsumerSigninRequest) (sdk.AuthDriverUserInfo, error)

Jump to

Keyboard shortcuts

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