42 lines
521 B
Go
42 lines
521 B
Go
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
|
|
)
|