Documentation ¶
Index ¶
- type User
- func (s *User) Create(ctx context.Context, req *pb.CreateRequest, rsp *pb.CreateResponse) error
- func (s *User) Delete(ctx context.Context, req *pb.DeleteRequest, rsp *pb.DeleteResponse) error
- func (s *User) DeleteData(ctx context.Context, request *adminpb.DeleteDataRequest, ...) error
- func (s *User) List(ctx context.Context, request *pb.ListRequest, response *pb.ListResponse) error
- func (s *User) Login(ctx context.Context, req *pb.LoginRequest, rsp *pb.LoginResponse) error
- func (s *User) Logout(ctx context.Context, req *pb.LogoutRequest, rsp *pb.LogoutResponse) error
- func (s *User) LogoutAll(ctx context.Context, req *pb.LogoutAllRequest, rsp *pb.LogoutAllResponse) error
- func (s *User) Read(ctx context.Context, req *pb.ReadRequest, rsp *pb.ReadResponse) error
- func (s *User) ReadSession(ctx context.Context, req *pb.ReadSessionRequest, rsp *pb.ReadSessionResponse) error
- func (s *User) ResetPassword(ctx context.Context, req *pb.ResetPasswordRequest, ...) error
- func (s *User) SendMagicLink(ctx context.Context, req *pb.SendMagicLinkRequest, ...) error
- func (s *User) SendPasswordResetEmail(ctx context.Context, req *pb.SendPasswordResetEmailRequest, ...) error
- func (s *User) SendVerificationEmail(ctx context.Context, req *pb.SendVerificationEmailRequest, ...) error
- func (s *User) Update(ctx context.Context, req *pb.UpdateRequest, rsp *pb.UpdateResponse) error
- func (s *User) UpdatePassword(ctx context.Context, req *pb.UpdatePasswordRequest, ...) error
- func (s *User) Usage(ctx context.Context, request *adminpb.UsageRequest, ...) error
- func (s *User) VerifyEmail(ctx context.Context, req *pb.VerifyEmailRequest, rsp *pb.VerifyEmailResponse) error
- func (s *User) VerifyToken(ctx context.Context, req *pb.VerifyTokenRequest, rsp *pb.VerifyTokenResponse) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { Otp otp.OtpService // contains filtered or unexported fields }
func (*User) Create ¶
func (s *User) Create(ctx context.Context, req *pb.CreateRequest, rsp *pb.CreateResponse) error
func (*User) Delete ¶
func (s *User) Delete(ctx context.Context, req *pb.DeleteRequest, rsp *pb.DeleteResponse) error
func (*User) DeleteData ¶
func (s *User) DeleteData(ctx context.Context, request *adminpb.DeleteDataRequest, response *adminpb.DeleteDataResponse) error
func (*User) List ¶
func (s *User) List(ctx context.Context, request *pb.ListRequest, response *pb.ListResponse) error
func (*User) Login ¶
func (s *User) Login(ctx context.Context, req *pb.LoginRequest, rsp *pb.LoginResponse) error
func (*User) Logout ¶
func (s *User) Logout(ctx context.Context, req *pb.LogoutRequest, rsp *pb.LogoutResponse) error
func (*User) LogoutAll ¶
func (s *User) LogoutAll(ctx context.Context, req *pb.LogoutAllRequest, rsp *pb.LogoutAllResponse) error
func (*User) Read ¶
func (s *User) Read(ctx context.Context, req *pb.ReadRequest, rsp *pb.ReadResponse) error
func (*User) ReadSession ¶
func (s *User) ReadSession(ctx context.Context, req *pb.ReadSessionRequest, rsp *pb.ReadSessionResponse) error
func (*User) ResetPassword ¶
func (s *User) ResetPassword(ctx context.Context, req *pb.ResetPasswordRequest, rsp *pb.ResetPasswordResponse) error
func (*User) SendMagicLink ¶
func (s *User) SendMagicLink(ctx context.Context, req *pb.SendMagicLinkRequest, rsp *pb.SendMagicLinkResponse) error
func (*User) SendPasswordResetEmail ¶
func (s *User) SendPasswordResetEmail(ctx context.Context, req *pb.SendPasswordResetEmailRequest, rsp *pb.SendPasswordResetEmailResponse) error
func (*User) SendVerificationEmail ¶
func (s *User) SendVerificationEmail(ctx context.Context, req *pb.SendVerificationEmailRequest, rsp *pb.SendVerificationEmailResponse) error
func (*User) Update ¶
func (s *User) Update(ctx context.Context, req *pb.UpdateRequest, rsp *pb.UpdateResponse) error
func (*User) UpdatePassword ¶
func (s *User) UpdatePassword(ctx context.Context, req *pb.UpdatePasswordRequest, rsp *pb.UpdatePasswordResponse) error
func (*User) Usage ¶
func (s *User) Usage(ctx context.Context, request *adminpb.UsageRequest, response *adminpb.UsageResponse) error
func (*User) VerifyEmail ¶
func (s *User) VerifyEmail(ctx context.Context, req *pb.VerifyEmailRequest, rsp *pb.VerifyEmailResponse) error
func (*User) VerifyToken ¶
func (s *User) VerifyToken(ctx context.Context, req *pb.VerifyTokenRequest, rsp *pb.VerifyTokenResponse) error
Click to show internal directories.
Click to hide internal directories.