package
Version:
v0.0.0-...-c9a23b1
Opens a new window with list of versions in this module.
Published: Nov 15, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type LoginInput struct {
Email string `json:"email"`
Password string `json:"password"`
}
type LogoutInput struct {
AccessToken string `json:"accessToken"`
RefreshToken string `json:"refreshToken"`
}
type RefreshInput struct {
RefreshToken string `json:"refreshToken"`
}
type ResetInitInput struct {
Email string `json:"email"`
}
type ResetVerifyInput struct {
Email string `json:"email"`
Otp string `json:"otp"`
NewPassword string `json:"newPassword"`
}
type SignupInput struct {
Email string `json:"email"`
FirstName string `json:"firstName"`
LastName string `json:"lastName"`
Password string `json:"password"`
}
type UserAuthCredential struct {
UserId string `json:"userId" bson:"_id"`
Email string `json:"email" bson:"email"`
HashedPassword string `json:"hashedPassword" bson:"hashedPassword"`
CreatedAt time.Time `json:"createdAt" bson:"createdAt"`
ModifiedAt time.Time `json:"modifiedAt" bson:"modifiedAt"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.