service

package
v1.31.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2019 License: BSD-2-Clause Imports: 36 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PasswordHasher added in v1.31.0

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

func NewPasswordHasher added in v1.31.0

func NewPasswordHasher(cfg *PasswordHasherConfig) (*PasswordHasher, error)

func (*PasswordHasher) HashPassword added in v1.31.0

func (p *PasswordHasher) HashPassword(userID string, password string) string

type PasswordHasherConfig added in v1.31.0

type PasswordHasherConfig struct {
	Salt string `json:"-"`
}

func NewPasswordHasherConfig added in v1.31.0

func NewPasswordHasherConfig() *PasswordHasherConfig

func (*PasswordHasherConfig) Load added in v1.31.0

func (p *PasswordHasherConfig) Load(configReporter config.Reporter) error

func (*PasswordHasherConfig) Validate added in v1.31.0

func (p *PasswordHasherConfig) Validate() error

type Service added in v1.31.0

type Service struct {
	*serviceService.Authenticated
	// contains filtered or unexported fields
}

func New added in v1.31.0

func New() *Service

func (*Service) BlobClient added in v1.31.0

func (s *Service) BlobClient() blob.Client

func (*Service) ConfirmationStore added in v1.31.0

func (s *Service) ConfirmationStore() confirmationStore.Store

func (*Service) DataClient added in v1.31.0

func (s *Service) DataClient() dataClient.Client

func (*Service) DataSourceClient added in v1.31.0

func (s *Service) DataSourceClient() dataSource.Client

func (*Service) ImageClient added in v1.31.0

func (s *Service) ImageClient() image.Client

func (*Service) Initialize added in v1.31.0

func (s *Service) Initialize(provider application.Provider) error

func (*Service) MessageStore added in v1.31.0

func (s *Service) MessageStore() messageStore.Store

func (*Service) MetricClient added in v1.31.0

func (s *Service) MetricClient() metric.Client

func (*Service) PasswordHasher added in v1.31.0

func (s *Service) PasswordHasher() userServiceClient.PasswordHasher

func (*Service) PermissionClient added in v1.31.0

func (s *Service) PermissionClient() permission.Client

func (*Service) PermissionStore added in v1.31.0

func (s *Service) PermissionStore() permissionStore.Store

func (*Service) ProfileStore added in v1.31.0

func (s *Service) ProfileStore() profileStoreStructured.Store

func (*Service) SessionStore added in v1.31.0

func (s *Service) SessionStore() sessionStore.Store

func (*Service) Status added in v1.31.0

func (s *Service) Status() interface{}

func (*Service) Terminate added in v1.31.0

func (s *Service) Terminate()

func (*Service) UserClient added in v1.31.0

func (s *Service) UserClient() user.Client

func (*Service) UserStructuredStore added in v1.31.0

func (s *Service) UserStructuredStore() userStoreStructured.Store

Directories

Path Synopsis
api
v1

Jump to

Keyboard shortcuts

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