user

package
v5.0.0-...-2679821 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package user implements basic user and group persistence layer.

It is currently backed by a SQL db.

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type DAO

type DAO interface {
	resources.DAO
	index.DAO

	Migrate(ctx context.Context) error

	Add(context.Context, interface{}) (interface{}, []*idm.User, error)
	Del(context.Context, service2.Enquirer, chan *idm.User) (numRows int64, e error)
	Search(context.Context, service2.Enquirer, *[]interface{}, ...bool) error
	Count(context.Context, service2.Enquirer, ...bool) (int, error)
	Bind(ctx context.Context, userName string, password string) (*idm.User, error)
	CleanRole(ctx context.Context, roleId string) error
	TouchUser(ctx context.Context, userUuid string) error
	LoginModifiedAttr(ctx context.Context, oldName, newName string) (int64, error)
}

DAO interface

Directories

Path Synopsis
dao
sql
service
Package service provides the gRPC service to communicate with the Pydio's user persistence layer.
Package service provides the gRPC service to communicate with the Pydio's user persistence layer.
service
Package service provides a REST gateway to the underlying grpc service
Package service provides a REST gateway to the underlying grpc service

Jump to

Keyboard shortcuts

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