authInfra

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: EPL-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 AuthCmdRepo

type AuthCmdRepo struct {
}

func (AuthCmdRepo) CreateSessionToken added in v0.1.2

func (repo AuthCmdRepo) CreateSessionToken(
	accountId valueObject.AccountId,
	expiresIn valueObject.UnixTime,
	ipAddress valueObject.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 valueObject.AccessTokenStr,
) (tokenDetails dto.AccessTokenDetails, err error)

Jump to

Keyboard shortcuts

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