auth

package
v0.2.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JWETokenHeader = "jweToken"
)

Variables

This section is empty.

Functions

func ModeHandler

func ModeHandler(rw http.ResponseWriter, r *http.Request)

Types

type LoginHandler

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

func NewLoginHandler

func NewLoginHandler(scaled *config.Scaled, restConfig *rest.Config) *LoginHandler

func (*LoginHandler) ServeHTTP

func (h *LoginHandler) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type Middleware

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

func NewMiddleware

func NewMiddleware(ctx context.Context, scaled *config.Scaled, restConfig *rest.Config, rancherEmbedded bool) (*Middleware, error)

func (*Middleware) ToAuthMiddleware

func (h *Middleware) ToAuthMiddleware() steveauth.Middleware

Jump to

Keyboard shortcuts

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