lowcode

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lowcode

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

func NewLowcodeAuth

func NewLowcodeAuth(log logr.Logger) *Lowcode

func (*Lowcode) Auth

func (l *Lowcode) Auth(w http.ResponseWriter, r *http.Request) bool

type Profile

type Profile struct {
	Code     int
	UserID   string
	UserName string
}

Profile profile

type Warden

type Warden interface {
	CheckToken(ctx context.Context, token, checkURI string) (*Profile, error)
}

Oauth2s oauth2s

func NewWarden

func NewWarden(conf client.Config) Warden

NewWarden

Jump to

Keyboard shortcuts

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