Documentation ¶
Index ¶
- type SqlDBUserContextAdapter
- func (u SqlDBUserContextAdapter) ApplyMigrations() error
- func (u SqlDBUserContextAdapter) CleanUserEmailVerificationToken(id string) error
- func (u SqlDBUserContextAdapter) CleanUserRecoveryToken(id string) error
- func (u SqlDBUserContextAdapter) GetUserByEmail(email string) *dto.UserDTO
- func (u SqlDBUserContextAdapter) GetUserById(id string) *dto.UserDTO
- func (u SqlDBUserContextAdapter) GetUserByUsername(username string) *dto.UserDTO
- func (u SqlDBUserContextAdapter) GetUserClaimsById(id string) []dto.UserClaimDTO
- func (u SqlDBUserContextAdapter) GetUserEmailVerificationToken(id string) *string
- func (u SqlDBUserContextAdapter) GetUserRecoveryToken(id string) *string
- func (u SqlDBUserContextAdapter) GetUserRefreshToken(id string) *string
- func (u SqlDBUserContextAdapter) GetUserRolesById(id string) []dto.UserRoleDTO
- func (u SqlDBUserContextAdapter) RemoveUser(id string) bool
- func (u SqlDBUserContextAdapter) SetEmailVerificationState(id string, state bool) bool
- func (u SqlDBUserContextAdapter) UpdateUserEmailVerificationToken(id string, token string) bool
- func (u SqlDBUserContextAdapter) UpdateUserPassword(id string, password string) error
- func (u SqlDBUserContextAdapter) UpdateUserRecoveryToken(id string, token string) bool
- func (u SqlDBUserContextAdapter) UpdateUserRefreshToken(id string, token string) bool
- func (u SqlDBUserContextAdapter) UpsertUser(user dto.UserDTO) error
- func (u SqlDBUserContextAdapter) UpsertUserClaims(user dto.UserDTO) error
- func (u SqlDBUserContextAdapter) UpsertUserRoles(user dto.UserDTO) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SqlDBUserContextAdapter ¶
type SqlDBUserContextAdapter struct{}
func (SqlDBUserContextAdapter) ApplyMigrations ¶
func (u SqlDBUserContextAdapter) ApplyMigrations() error
func (SqlDBUserContextAdapter) CleanUserEmailVerificationToken ¶
func (u SqlDBUserContextAdapter) CleanUserEmailVerificationToken(id string) error
func (SqlDBUserContextAdapter) CleanUserRecoveryToken ¶
func (u SqlDBUserContextAdapter) CleanUserRecoveryToken(id string) error
func (SqlDBUserContextAdapter) GetUserByEmail ¶
func (u SqlDBUserContextAdapter) GetUserByEmail(email string) *dto.UserDTO
func (SqlDBUserContextAdapter) GetUserById ¶
func (u SqlDBUserContextAdapter) GetUserById(id string) *dto.UserDTO
func (SqlDBUserContextAdapter) GetUserByUsername ¶
func (u SqlDBUserContextAdapter) GetUserByUsername(username string) *dto.UserDTO
func (SqlDBUserContextAdapter) GetUserClaimsById ¶
func (u SqlDBUserContextAdapter) GetUserClaimsById(id string) []dto.UserClaimDTO
func (SqlDBUserContextAdapter) GetUserEmailVerificationToken ¶
func (u SqlDBUserContextAdapter) GetUserEmailVerificationToken(id string) *string
func (SqlDBUserContextAdapter) GetUserRecoveryToken ¶
func (u SqlDBUserContextAdapter) GetUserRecoveryToken(id string) *string
func (SqlDBUserContextAdapter) GetUserRefreshToken ¶
func (u SqlDBUserContextAdapter) GetUserRefreshToken(id string) *string
func (SqlDBUserContextAdapter) GetUserRolesById ¶
func (u SqlDBUserContextAdapter) GetUserRolesById(id string) []dto.UserRoleDTO
func (SqlDBUserContextAdapter) RemoveUser ¶
func (u SqlDBUserContextAdapter) RemoveUser(id string) bool
func (SqlDBUserContextAdapter) SetEmailVerificationState ¶
func (u SqlDBUserContextAdapter) SetEmailVerificationState(id string, state bool) bool
func (SqlDBUserContextAdapter) UpdateUserEmailVerificationToken ¶
func (u SqlDBUserContextAdapter) UpdateUserEmailVerificationToken(id string, token string) bool
func (SqlDBUserContextAdapter) UpdateUserPassword ¶
func (u SqlDBUserContextAdapter) UpdateUserPassword(id string, password string) error
func (SqlDBUserContextAdapter) UpdateUserRecoveryToken ¶
func (u SqlDBUserContextAdapter) UpdateUserRecoveryToken(id string, token string) bool
func (SqlDBUserContextAdapter) UpdateUserRefreshToken ¶
func (u SqlDBUserContextAdapter) UpdateUserRefreshToken(id string, token string) bool
func (SqlDBUserContextAdapter) UpsertUser ¶
func (u SqlDBUserContextAdapter) UpsertUser(user dto.UserDTO) error
func (SqlDBUserContextAdapter) UpsertUserClaims ¶
func (u SqlDBUserContextAdapter) UpsertUserClaims(user dto.UserDTO) error
func (SqlDBUserContextAdapter) UpsertUserRoles ¶
func (u SqlDBUserContextAdapter) UpsertUserRoles(user dto.UserDTO) error
Click to show internal directories.
Click to hide internal directories.