authn

package
v2.0.8-rc4+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2018 License: Apache-2.0 Imports: 23 Imported by: 110

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectionFormatter

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

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)

func UserFormatter

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

Types

type Handler

type Handler struct {
	UserClient v3.UserInterface
}

func (*Handler) Actions

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

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