MCPcopy Create free account
hub / github.com/authorizerdev/authorizer / GetUserByPhoneNumber

Method GetUserByPhoneNumber

internal/storage/provider.go:39–39  ·  view source on GitHub ↗

GetUserByPhoneNumber to get user information from database using phone number

(ctx context.Context, phoneNumber string)

Source from the content-addressed store, hash-verified

37 GetUserByEmail(ctx context.Context, email string) (*schemas.User, error)
38 // GetUserByPhoneNumber to get user information from database using phone number
39 GetUserByPhoneNumber(ctx context.Context, phoneNumber string) (*schemas.User, error)
40 // GetUserByID to get user information from database using user ID
41 GetUserByID(ctx context.Context, id string) (*schemas.User, error)
42 // UpdateUsers to update multiple users, with parameters of user IDs slice

Callers 13

TestResendOTPFunction · 0.65
TestResetPasswordFunction · 0.65
TestVerifyOTPFunction · 0.65
UpdateUserMethod · 0.65
ResendOTPMethod · 0.65
LoginMethod · 0.65
ResetPasswordMethod · 0.65
SignUpMethod · 0.65
UpdateProfileMethod · 0.65
ForgotPasswordMethod · 0.65
VerifyOTPMethod · 0.65

Calls

no outgoing calls

Tested by 5

TestResendOTPFunction · 0.52
TestResetPasswordFunction · 0.52
TestVerifyOTPFunction · 0.52
testUserOperationsFunction · 0.52