Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { CreateOauth2Link(ctx context.Context, p model.OauthProvider, uuid uuid.UUID, iss, sub string) (*oauth2.ProviderLink, error) GetOauth2Link(ctx context.Context, issuer, subject string) (uuid.UUID, *oauth2.ProviderLink, error) CreateUser(ctx context.Context, rm *model.RegisterMethod, initializers []*user.Update) (*user.User, error) GetUser(ctx context.Context, userID uuid.UUID) (*user.User, error) GetUserByIdentifier(ctx context.Context, id *model.UserIdentifier) (*user.User, error) GetPassword(ctx context.Context, userID uuid.UUID) (*model.HashingInstance, error) UpdateUser(ctx context.Context, userID uuid.UUID, us []*user.Update) error DeleteUser(ctx context.Context, userID uuid.UUID) error List(ctx context.Context, pagination *model.Pagination, search string) (iterator.Iterator[*model.UserEntry], uint64, error) GetSettings(ctx context.Context) (*settings.Settings, error) UpdateSettings(ctx context.Context, su []*settings.Update) error }
func NewService ¶
func NewService(p newParams) Service
Click to show internal directories.
Click to hide internal directories.