Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfirmEmailHandlerFunc ¶
type ConfirmEmailHandlerFunc func(ctx context.Context, req *userv1.ConfirmEmailRequest) (*userv1.ConfirmEmailResponse, error)
func ConfirmEmail ¶
func ConfirmEmail(db *sql.DB) ConfirmEmailHandlerFunc
type GetMyPersonalInfoHandlerFunc ¶
type GetMyPersonalInfoHandlerFunc func(ctx context.Context, req *userv1.GetMyPersonalInfoRequest) (*userv1.GetMyPersonalInfoResponse, error)
func GetMyPersonalInfo ¶
func GetMyPersonalInfo(userTokenService service.UserTokenService) GetMyPersonalInfoHandlerFunc
type RefreshTokenHandlerFunc ¶
type RefreshTokenHandlerFunc func(ctx context.Context, req *userv1.RefreshTokenRequest) (*userv1.RefreshTokenResponse, error)
func RefreshToken ¶
func RefreshToken(userTokenService service.UserTokenService) RefreshTokenHandlerFunc
type RegisterHandlerFunc ¶
type RegisterHandlerFunc func(ctx context.Context, req *userv1.RegisterRequest) (*userv1.RegisterResponse, error)
type RequestSmsOtpHandlerFunc ¶
type RequestSmsOtpHandlerFunc func(ctx context.Context, req *userv1.RequestSmsOtpRequest) (*userv1.RequestSmsOtpResponse, error)
func RequestSmsOtp ¶
func RequestSmsOtp(clock clockwork.Clock, db *sql.DB, idGenerator, otpGenerator generator.Generator, smsv1ServiceCli smsv1.SmsServiceClient) RequestSmsOtpHandlerFunc
type ResetPasswordHandlerFunc ¶
type ResetPasswordHandlerFunc func(ctx context.Context, req *userv1.ResetPasswordRequest) (*userv1.ResetPasswordResponse, error)
func ResetPassword ¶
func ResetPassword(clock clockwork.Clock, db *sql.DB, hasher crypto.Hasher, userTokenService service.UserTokenService) ResetPasswordHandlerFunc
type SignInHandlerFunc ¶
type SignInHandlerFunc func(ctx context.Context, req *userv1.SignInRequest) (*userv1.SignInResponse, error)
func SignIn ¶
func SignIn(hasher crypto.Hasher, db *sql.DB, userTokenService service.UserTokenService) SignInHandlerFunc
type SignOutHandlerFunc ¶
type SignOutHandlerFunc func(ctx context.Context, req *userv1.SignOutRequest) (*userv1.SignOutResponse, error)
func SignOut ¶
func SignOut(userTokenService service.UserTokenService) SignOutHandlerFunc
type VerifySmsOtpHandlerFunc ¶
type VerifySmsOtpHandlerFunc func(ctx context.Context, req *userv1.VerifySmsOtpRequest) (*userv1.VerifySmsOtpResponse, error)
func VerifySmsOtp ¶
func VerifySmsOtp(clock clockwork.Clock, db *sql.DB) VerifySmsOtpHandlerFunc
Click to show internal directories.
Click to hide internal directories.