auth

package
Version: v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2018 License: Apache-2.0 Imports: 9 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthManager

func NewAuthManager(clientManager clientapi.ClientManager, tokenManager authApi.TokenManager,
	authenticationModes authApi.AuthenticationModes, authenticationSkippable bool) authApi.AuthManager

NewAuthManager creates auth manager.

func NewBasicAuthenticator

func NewBasicAuthenticator(spec *authApi.LoginSpec) authApi.Authenticator

NewBasicAuthenticator returns Authenticator based on LoginSpec.

func NewKubeConfigAuthenticator

func NewKubeConfigAuthenticator(spec *authApi.LoginSpec, authModes authApi.AuthenticationModes) authApi.Authenticator

NewBasicAuthenticator returns Authenticator based on LoginSpec.

func NewTokenAuthenticator

func NewTokenAuthenticator(spec *authApi.LoginSpec) authApi.Authenticator

NewTokenAuthenticator returns Authenticator based on LoginSpec.

Types

type AuthHandler

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

AuthHandler manages all endpoints related to dashboard auth, such as login.

func NewAuthHandler

func NewAuthHandler(manager authApi.AuthManager) AuthHandler

NewAuthHandler created AuthHandler instance.

func (AuthHandler) Install

func (self AuthHandler) Install(ws *restful.WebService)

Install creates new endpoints for dashboard auth, such as login. It allows user to log in to dashboard using one of the supported methods. See AuthManager and Authenticator for more information.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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