auth

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthApp

type AuthApp struct {
	Config      config.Config
	Logger      zerolog.Logger
	UserApp     ports.UserPort
	SessionApp  ports.SessionPort
	SpaceApp    ports.SpacePort
	DocumentApp ports.DocumentPort
}

func NewAuthApp

func NewAuthApp(config config.Config, logger zerolog.Logger, userApp ports.UserPort, sessionApp ports.SessionPort, spaceApp ports.SpacePort, documentApp ports.DocumentPort) *AuthApp

func (*AuthApp) Authenticate

func (c *AuthApp) Authenticate(input dto.AuthenticateInput) (*dto.AuthenticateOutput, error)

func (*AuthApp) Logout

func (c *AuthApp) Logout(input dto.LogoutInput) error

func (*AuthApp) Register

func (c *AuthApp) Register(input dto.RegisterInput) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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