application

package
v0.13.3 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionUseCases

type SessionUseCases struct {
	AccountsRepository accounts_definitions.AccountsRepository
	PasswordHasher     accounts_definitions.PasswordsHasher
	TokenHandler       definitions.TokenHandler
}

func (*SessionUseCases) Login

func (useCases *SessionUseCases) Login(dto dtos.LoginDTO) (dtos.SessionDTO, error)

func (*SessionUseCases) WhoAmI added in v0.6.0

func (useCases *SessionUseCases) WhoAmI(uuid string) (entities.User, error)

Jump to

Keyboard shortcuts

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