user

package
v0.1.33 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 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")
	GetUserSharedIdByUserId = types.NewGRPCMethod("GetUserSharedIdByUserId")
	GetUserIdByUserSharedId = types.NewGRPCMethod("GetUserIdByUserSharedId")
	IsPasswordCorrect       = types.NewGRPCMethod("IsPasswordCorrect")
	UpdateUser              = types.NewGRPCMethod("UpdateUser")
	GetProfile              = types.NewGRPCMethod("GetProfile")
	GetMyProfile            = types.NewGRPCMethod("GetMyProfile")
	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,
	GetUserSharedIdByUserId: types.None,
	GetUserIdByUserSharedId: types.None,
	IsPasswordCorrect:       types.None,
	GetProfile:              types.None,
	UpdateUser:              types.AccessToken,
	GetMyProfile:            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