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.
Click to show internal directories.
Click to hide internal directories.