1
This commit is contained in:
41
internal/services/auth_infrastructure/domain.go
Normal file
41
internal/services/auth_infrastructure/domain.go
Normal file
@@ -0,0 +1,41 @@
|
||||
package authinfra
|
||||
|
||||
type (
|
||||
PasswordResetOTPCreateRequest struct {
|
||||
Email string
|
||||
}
|
||||
|
||||
PasswordResetOTPCreateResponse struct {
|
||||
OTP string
|
||||
}
|
||||
)
|
||||
|
||||
type (
|
||||
ValidatePasswordResetOTPRequest struct {
|
||||
Email string
|
||||
OTP string
|
||||
}
|
||||
|
||||
ValidatePasswordResetOTPResponse struct {
|
||||
Token string
|
||||
}
|
||||
)
|
||||
|
||||
type (
|
||||
ValidatePasswordResetTokenRequest struct {
|
||||
Email string
|
||||
Token string
|
||||
}
|
||||
|
||||
ValidatePasswordResetTokenResponse struct {
|
||||
}
|
||||
)
|
||||
|
||||
type (
|
||||
Type uint
|
||||
Config any
|
||||
)
|
||||
|
||||
const (
|
||||
CacheAuthInfrastructureServiceType Type = iota
|
||||
)
|
Reference in New Issue
Block a user