sql

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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