src.dualinventive.com/go/authentication-service/internal/storage/codeRepository.go

9 lines
268 B
Go

package storage
//ResetCodeRepository is responsible for managing the storing of password reset codes.
type ResetCodeRepository interface {
CreateCode(userName string, uuid string) error
DeleteCode(userName string) error
GetCode(userName string) (string, error)
}