authservice

package
v0.0.29 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSetAuthService = wire.NewSet(NewAuthService)

ProviderSetAuthService 注入AuthService

Functions

This section is empty.

Types

type AuthService

type AuthService struct {
	auth.UnimplementedAuthServer
	// contains filtered or unexported fields
}

func NewAuthService

func NewAuthService(userBiz *biz.UserBiz, captchaBiz *biz.CaptchaBiz, logger log.Logger) *AuthService

func (*AuthService) Captcha

func (*AuthService) Login

func (s *AuthService) Login(ctx context.Context, req *auth.LoginRequest) (*auth.LoginReply, error)

func (*AuthService) Logout

func (*AuthService) RefreshToken

Jump to

Keyboard shortcuts

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