Documentation ¶
Index ¶
- type AuthAccess
- func (ac *AuthAccess) CreateNewUserAuthCredential(credential *authmodels.UserAuthCredential) error
- func (ac *AuthAccess) DeleteAnAuthCredential(userId string) error
- func (ac *AuthAccess) GetAuthCredentialByEmail(email string) (*authmodels.UserAuthCredential, error)
- func (ac *AuthAccess) UpdateUserAuthPassword(email, newHashedPassword string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthAccess ¶
type AuthAccess struct {
Collection *mongo.Collection
}
func (*AuthAccess) CreateNewUserAuthCredential ¶
func (ac *AuthAccess) CreateNewUserAuthCredential(credential *authmodels.UserAuthCredential) error
func (*AuthAccess) DeleteAnAuthCredential ¶
func (ac *AuthAccess) DeleteAnAuthCredential(userId string) error
func (*AuthAccess) GetAuthCredentialByEmail ¶
func (ac *AuthAccess) GetAuthCredentialByEmail(email string) (*authmodels.UserAuthCredential, error)
func (*AuthAccess) UpdateUserAuthPassword ¶
func (ac *AuthAccess) UpdateUserAuthPassword(email, newHashedPassword string) error
Click to show internal directories.
Click to hide internal directories.