Documentation ¶
Index ¶
- type PasswordHasher
- type PasswordHasherConfig
- type Service
- func (s *Service) BlobClient() blob.Client
- func (s *Service) ConfirmationStore() confirmationStore.Store
- func (s *Service) DataClient() dataClient.Client
- func (s *Service) DataSourceClient() dataSource.Client
- func (s *Service) ImageClient() image.Client
- func (s *Service) Initialize(provider application.Provider) error
- func (s *Service) MessageStore() messageStore.Store
- func (s *Service) MetricClient() metric.Client
- func (s *Service) PasswordHasher() userServiceClient.PasswordHasher
- func (s *Service) PermissionClient() permission.Client
- func (s *Service) PermissionStore() permissionStore.Store
- func (s *Service) ProfileStore() profileStoreStructured.Store
- func (s *Service) SessionStore() sessionStore.Store
- func (s *Service) Status() interface{}
- func (s *Service) Terminate()
- func (s *Service) UserClient() user.Client
- func (s *Service) UserStructuredStore() userStoreStructured.Store
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 (*Service) BlobClient ¶ added in v1.31.0
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 (*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 (*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) UserClient ¶ added in v1.31.0
func (*Service) UserStructuredStore ¶ added in v1.31.0
func (s *Service) UserStructuredStore() userStoreStructured.Store
Click to show internal directories.
Click to hide internal directories.