local

package
v2.0.0-alpha14+incompa... Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "local"
)

Constants for github

Variables

This section is empty.

Functions

This section is empty.

Types

type LProvider

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

LProvider implements an PrincipalProvider for local auth

func Configure

func Configure(ctx context.Context, mgmtCtx *config.ManagementContext) *LProvider

func (*LProvider) AuthenticateUser

func (l *LProvider) AuthenticateUser(input interface{}) (v3.Principal, []v3.Principal, map[string]string, int, error)

func (*LProvider) ConfigActionHandler

func (l *LProvider) ConfigActionHandler(actionName string, action *types.Action, request *types.APIContext) error

func (*LProvider) GetName

func (l *LProvider) GetName() string

GetName returns the name of the provider

func (*LProvider) SearchPrincipals

func (l *LProvider) SearchPrincipals(searchKey string, myToken v3.Token) ([]v3.Principal, int, error)

Jump to

Keyboard shortcuts

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