authInfra

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: EPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthCmdRepo

type AuthCmdRepo struct {
	// contains filtered or unexported fields
}

func NewAuthCmdRepo added in v0.2.8

func NewAuthCmdRepo() *AuthCmdRepo

func (*AuthCmdRepo) CreateSessionToken added in v0.1.2

func (repo *AuthCmdRepo) CreateSessionToken(
	accountId tkValueObject.AccountId,
	expiresIn tkValueObject.UnixTime,
	ipAddress tkValueObject.IpAddress,
) (entity.AccessToken, error)

type AuthQueryRepo

type AuthQueryRepo struct {
	// contains filtered or unexported fields
}

func NewAuthQueryRepo added in v0.1.2

func NewAuthQueryRepo(
	persistentDbSvc *internalDbInfra.PersistentDatabaseService,
) *AuthQueryRepo

func (*AuthQueryRepo) IsLoginValid

func (repo *AuthQueryRepo) IsLoginValid(createDto dto.CreateSessionToken) bool

func (*AuthQueryRepo) ReadAccessTokenDetails

func (repo *AuthQueryRepo) ReadAccessTokenDetails(
	token tkValueObject.AccessTokenValue,
) (tokenDetails dto.AccessTokenDetails, err error)

Jump to

Keyboard shortcuts

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