auth

package
v1.4.10 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: GPL-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth interface {
	SignIn(ctx context.Context, in *SignInReq, opts ...grpc.CallOption) (*SignInResp, error)
	SetPassword(ctx context.Context, in *SetPasswordReq, opts ...grpc.CallOption) (*SetPasswordResp, error)
	SendVerifyCode(ctx context.Context, in *SendVerifyCodeReq, opts ...grpc.CallOption) (*SendVerifyCodeResp, error)
}

func NewAuth

func NewAuth(cli zrpc.Client) Auth

type SendVerifyCodeReq

type SendVerifyCodeReq = pb.SendVerifyCodeReq

type SendVerifyCodeResp

type SendVerifyCodeResp = pb.SendVerifyCodeResp

type SetPasswordReq

type SetPasswordReq = pb.SetPasswordReq

type SetPasswordResp

type SetPasswordResp = pb.SetPasswordResp

type SignInReq

type SignInReq = pb.SignInReq

type SignInResp

type SignInResp = pb.SignInResp

type User added in v1.4.10

type User = pb.User

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL