service

package
v0.0.0-...-690bb9c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Services

type Services interface {
	SignupService() SignupService
	VerificationService() VerificationService
}

type SignupService

type SignupService interface {
	Signup(ctx *gin.Context) (*toolchainv1alpha1.UserSignup, error)
	GetSignup(ctx *gin.Context, userID, username string, checkUserSignupCompleted bool) (*signup.Signup, error)
	GetUserSignupFromIdentifier(userID, username string) (*toolchainv1alpha1.UserSignup, error)
	PhoneNumberAlreadyInUse(userID, username, phoneNumberOrHash string) error
}

type VerificationService

type VerificationService interface {
	InitVerification(ctx *gin.Context, userID, username, e164PhoneNumber, countryCode string) error
	VerifyPhoneCode(ctx *gin.Context, userID, username, code string) error
	VerifyActivationCode(ctx *gin.Context, userID, username, code string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL