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)
Click to show internal directories.
Click to hide internal directories.