login

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrStateMismatched  = fmt.Errorf("state is not matched")
	ErrInstanceNotFound = fmt.Errorf("instance not found")
)

Functions

func CmdLow

func CmdLow(_ context.Context, host string) error

func Ensure

func Ensure(cctx context.Context, fn func(ctx context.Context) error)

func GetHost

func GetHost(host string) string

func LocalLogin

func LocalLogin(host string)

Types

type Authenticator

type Authenticator struct {
	*oidc.Provider
	oauth2.Config
}

Jump to

Keyboard shortcuts

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