Files
src.dualinventive.com/go/authentication-service/internal/storage/codeRepository.go
2024-08-09 12:10:16 +02:00

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)
}