user

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SignUp                = grpc.NewMethod("SignUp")
	UsernameExists        = grpc.NewMethod("UsernameExists")
	GetUserIdByUsername   = grpc.NewMethod("GetUserIdByUsername")
	GetUsernameByUserId   = grpc.NewMethod("GetUsernameByUserId")
	IsPasswordCorrect     = grpc.NewMethod("IsPasswordCorrect")
	UpdateUser            = grpc.NewMethod("UpdateUser")
	SetProfilePicture     = grpc.NewMethod("SetProfilePicture")
	GetProfile            = grpc.NewMethod("GetProfile")
	GetMyProfile          = grpc.NewMethod("GetMyProfile")
	ChangePassword        = grpc.NewMethod("ChangePassword")
	ChangeUsername        = grpc.NewMethod("ChangeUsername")
	AddEmail              = grpc.NewMethod("AddEmail")
	DeleteEmail           = grpc.NewMethod("DeleteEmail")
	SendVerificationEmail = grpc.NewMethod("SendVerificationEmail")
	VerifyEmail           = grpc.NewMethod("VerifyEmail")
	GetPrimaryEmail       = grpc.NewMethod("GetPrimaryEmail")
	ChangePrimaryEmail    = grpc.NewMethod("ChangePrimaryEmail")
	GetActiveEmails       = grpc.NewMethod("GetActiveEmails")
	ChangePhoneNumber     = grpc.NewMethod("ChangePhoneNumber")
	GetPhoneNumber        = grpc.NewMethod("GetPhoneNumber")
	SendVerificationSMS   = grpc.NewMethod("SendVerificationSMS")
	VerifyPhoneNumber     = grpc.NewMethod("VerifyPhoneNumber")
	ForgotPassword        = grpc.NewMethod("ForgotPassword")
	ResetPassword         = grpc.NewMethod("ResetPassword")
	DeleteUser            = grpc.NewMethod("DeleteUser")
)

User service gRPC methods

View Source
var Interceptions = map[grpc.Method]grpc.Interception{
	SignUp:                grpc.None,
	UsernameExists:        grpc.None,
	GetUserIdByUsername:   grpc.None,
	GetUsernameByUserId:   grpc.None,
	IsPasswordCorrect:     grpc.None,
	GetProfile:            grpc.None,
	UpdateUser:            grpc.AccessToken,
	SetProfilePicture:     grpc.AccessToken,
	GetMyProfile:          grpc.AccessToken,
	ChangePassword:        grpc.AccessToken,
	ChangeUsername:        grpc.AccessToken,
	AddEmail:              grpc.AccessToken,
	DeleteEmail:           grpc.AccessToken,
	SendVerificationEmail: grpc.AccessToken,
	VerifyEmail:           grpc.AccessToken,
	GetPrimaryEmail:       grpc.AccessToken,
	ChangePrimaryEmail:    grpc.AccessToken,
	GetActiveEmails:       grpc.AccessToken,
	ChangePhoneNumber:     grpc.AccessToken,
	GetPhoneNumber:        grpc.AccessToken,
	SendVerificationSMS:   grpc.AccessToken,
	VerifyPhoneNumber:     grpc.AccessToken,
	ForgotPassword:        grpc.None,
	ResetPassword:         grpc.None,
	DeleteUser:            grpc.AccessToken,
}

Interceptions is the list of gRPC methods to intercept

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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