authn

package
v2.2.5-rc11+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashPasswordString

func HashPasswordString(password string) (string, error)

func SetRTBStore

func SetRTBStore(ctx context.Context, schema *types.Schema, mgmt *config.ScaledContext)

func SetUserStore

func SetUserStore(schema *types.Schema, mgmt *config.ScaledContext)

Types

type Handler

type Handler struct {
	UserClient               v3.UserInterface
	GlobalRoleBindingsClient v3.GlobalRoleBindingInterface
	UserAuthRefresher        providerrefresh.UserAuthRefresher
}

func (*Handler) Actions

func (h *Handler) Actions(actionName string, action *types.Action, apiContext *types.APIContext) error

func (*Handler) CollectionFormatter

func (h *Handler) CollectionFormatter(apiContext *types.APIContext, collection *types.GenericCollection)

func (*Handler) UserFormatter

func (h *Handler) UserFormatter(apiContext *types.APIContext, resource *types.RawResource)

type Store

type Store struct {
	types.Store
	// contains filtered or unexported fields
}

func (*Store) Create

func (s *Store) Create(apiContext *types.APIContext, schema *types.Schema, data map[string]interface{}) (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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