mongodb

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SeedMongoDb

func SeedMongoDb(factory *mongodb.MongoFactory, databaseName string)

func SeedMongoDbUsers

func SeedMongoDbUsers(factory *mongodb.MongoFactory, databaseName string)

Types

type MongoDBUserContextAdapter

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

func (MongoDBUserContextAdapter) CleanUserEmailVerificationToken

func (u MongoDBUserContextAdapter) CleanUserEmailVerificationToken(id string) error

TODO: Implement MongoDB CleanUserEmailVerificationToken

func (MongoDBUserContextAdapter) CleanUserRecoveryToken

func (u MongoDBUserContextAdapter) CleanUserRecoveryToken(id string) error

TODO: Implement MongoDB CleanUserRecoveryToken

func (MongoDBUserContextAdapter) GetUser added in v0.0.22

func (MongoDBUserContextAdapter) GetUserByEmail

func (u MongoDBUserContextAdapter) GetUserByEmail(email string) *dto.UserDTO

func (MongoDBUserContextAdapter) GetUserById

func (u MongoDBUserContextAdapter) GetUserById(id string) *dto.UserDTO

func (MongoDBUserContextAdapter) GetUserByUsername

func (u MongoDBUserContextAdapter) GetUserByUsername(username string) *dto.UserDTO

func (MongoDBUserContextAdapter) GetUserClaimsById

func (u MongoDBUserContextAdapter) GetUserClaimsById(id string) []dto.UserClaimDTO

TODO: Implement MongoDB GetUserClaimsById

func (MongoDBUserContextAdapter) GetUserEmailVerificationToken

func (u MongoDBUserContextAdapter) GetUserEmailVerificationToken(id string) *string

func (MongoDBUserContextAdapter) GetUserRecoveryToken

func (u MongoDBUserContextAdapter) GetUserRecoveryToken(id string) *string

TODO: Implement MongoDB GetUserRecoveryToken

func (MongoDBUserContextAdapter) GetUserRefreshToken

func (u MongoDBUserContextAdapter) GetUserRefreshToken(id string) *string

func (MongoDBUserContextAdapter) GetUserRolesById

func (u MongoDBUserContextAdapter) GetUserRolesById(id string) []dto.UserRoleDTO

TODO: Implement MongoDB GetUserRolesById

func (MongoDBUserContextAdapter) RemoveUser

func (u MongoDBUserContextAdapter) RemoveUser(id string) bool

func (MongoDBUserContextAdapter) SetEmailVerificationState

func (u MongoDBUserContextAdapter) SetEmailVerificationState(id string, state bool) bool

TODO: Implement MongoDB UpdateVerifyUserEmail

func (MongoDBUserContextAdapter) UpdateUserEmailVerificationToken

func (u MongoDBUserContextAdapter) UpdateUserEmailVerificationToken(id string, token string) bool

func (MongoDBUserContextAdapter) UpdateUserPassword

func (u MongoDBUserContextAdapter) UpdateUserPassword(id string, password string) error

TODO: Implement MongoDB GetUserRecoveryToken

func (MongoDBUserContextAdapter) UpdateUserRecoveryToken

func (u MongoDBUserContextAdapter) UpdateUserRecoveryToken(id string, token string) bool

TODO: Implement MongoDB UpdateUserRecoverToken

func (MongoDBUserContextAdapter) UpdateUserRefreshToken

func (u MongoDBUserContextAdapter) UpdateUserRefreshToken(id string, token string) bool

func (MongoDBUserContextAdapter) UpsertUser

func (u MongoDBUserContextAdapter) UpsertUser(user dto.UserDTO) error

func (MongoDBUserContextAdapter) UpsertUserClaims

func (u MongoDBUserContextAdapter) UpsertUserClaims(user dto.UserDTO) error

TODO: Implement MongoDB UpsertUserClaims

func (MongoDBUserContextAdapter) UpsertUserRoles

func (u MongoDBUserContextAdapter) UpsertUserRoles(user dto.UserDTO) error

TODO: Implement MongoDB UpsertUserRoles

Jump to

Keyboard shortcuts

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