user

package
v0.1.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	SignUp                details.GRPCMethod = "SignUp"
	IsPasswordCorrect     details.GRPCMethod = "IsPasswordCorrect"
	UpdateProfile         details.GRPCMethod = "UpdateProfile"
	GetProfile            details.GRPCMethod = "GetProfile"
	GetFullProfile        details.GRPCMethod = "GetFullProfile"
	ChangePassword        details.GRPCMethod = "ChangePassword"
	ChangeUsername        details.GRPCMethod = "ChangeUsername"
	AddEmail              details.GRPCMethod = "AddEmail"
	DeleteEmail           details.GRPCMethod = "DeleteEmail"
	SendVerificationEmail details.GRPCMethod = "SendVerificationEmail"
	VerifyEmail           details.GRPCMethod = "VerifyEmail"
	GetPrimaryEmail       details.GRPCMethod = "GetPrimaryEmail"
	ChangePrimaryEmail    details.GRPCMethod = "ChangePrimaryEmail"
	GetActiveEmails       details.GRPCMethod = "GetActiveEmails"
	ChangePhoneNumber     details.GRPCMethod = "ChangePhoneNumber"
	GetPhoneNumber        details.GRPCMethod = "GetPhoneNumber"
	SendVerificationSMS   details.GRPCMethod = "SendVerificationSMS"
	VerifyPhoneNumber     details.GRPCMethod = "VerifyPhoneNumber"
	ForgotPassword        details.GRPCMethod = "ForgotPassword"
	ResetPassword         details.GRPCMethod = "ResetPassword"
	DeleteUser            details.GRPCMethod = "DeleteUser"
)

User service gRPC methods

Variables

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

MethodsToIntercept is a map of methods to not 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