user

package
v0.1.26 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SignUp                = types.NewGRPCMethod("SignUp")
	UsernameExists        = types.NewGRPCMethod("UsernameExists")
	GetUserIdByUsername   = types.NewGRPCMethod("GetUserIdByUsername")
	GetUsernameByUserId   = types.NewGRPCMethod("GetUsernameByUserId")
	IsPasswordCorrect     = types.NewGRPCMethod("IsPasswordCorrect")
	UpdateProfile         = types.NewGRPCMethod("UpdateProfile")
	GetProfile            = types.NewGRPCMethod("GetProfile")
	GetFullProfile        = types.NewGRPCMethod("GetFullProfile")
	ChangePassword        = types.NewGRPCMethod("ChangePassword")
	ChangeUsername        = types.NewGRPCMethod("ChangeUsername")
	AddEmail              = types.NewGRPCMethod("AddEmail")
	DeleteEmail           = types.NewGRPCMethod("DeleteEmail")
	SendVerificationEmail = types.NewGRPCMethod("SendVerificationEmail")
	VerifyEmail           = types.NewGRPCMethod("VerifyEmail")
	GetPrimaryEmail       = types.NewGRPCMethod("GetPrimaryEmail")
	ChangePrimaryEmail    = types.NewGRPCMethod("ChangePrimaryEmail")
	GetActiveEmails       = types.NewGRPCMethod("GetActiveEmails")
	ChangePhoneNumber     = types.NewGRPCMethod("ChangePhoneNumber")
	GetPhoneNumber        = types.NewGRPCMethod("GetPhoneNumber")
	SendVerificationSMS   = types.NewGRPCMethod("SendVerificationSMS")
	VerifyPhoneNumber     = types.NewGRPCMethod("VerifyPhoneNumber")
	ForgotPassword        = types.NewGRPCMethod("ForgotPassword")
	ResetPassword         = types.NewGRPCMethod("ResetPassword")
	DeleteUser            = types.NewGRPCMethod("DeleteUser")
)

User service gRPC methods

View Source
var GRPCInterceptions = map[types.GRPCMethod]types.Interception{
	SignUp:                types.None,
	UsernameExists:        types.None,
	GetUserIdByUsername:   types.None,
	GetUsernameByUserId:   types.None,
	IsPasswordCorrect:     types.None,
	UpdateProfile:         types.AccessToken,
	GetProfile:            types.AccessToken,
	GetFullProfile:        types.AccessToken,
	ChangePassword:        types.AccessToken,
	ChangeUsername:        types.AccessToken,
	AddEmail:              types.AccessToken,
	DeleteEmail:           types.AccessToken,
	SendVerificationEmail: types.AccessToken,
	VerifyEmail:           types.AccessToken,
	GetPrimaryEmail:       types.AccessToken,
	ChangePrimaryEmail:    types.AccessToken,
	GetActiveEmails:       types.AccessToken,
	ChangePhoneNumber:     types.AccessToken,
	GetPhoneNumber:        types.AccessToken,
	SendVerificationSMS:   types.AccessToken,
	VerifyPhoneNumber:     types.AccessToken,
	ForgotPassword:        types.None,
	ResetPassword:         types.None,
	DeleteUser:            types.AccessToken,
}

GRPCInterceptions is the list of gRPC methods to intercept

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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