auth

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewV1

func NewV1() auth.IAuthV1

Types

type ControllerV1

type ControllerV1 struct{}

func (*ControllerV1) Forget

func (c *ControllerV1) Forget(ctx context.Context, req *v1.ForgetReq) (res *v1.ForgetRes, err error)

func (*ControllerV1) Login

func (c *ControllerV1) Login(ctx context.Context, req *v1.LoginReq) (res *v1.LoginRes, err error)

func (*ControllerV1) Logout

func (c *ControllerV1) Logout(ctx context.Context, req *v1.LogoutReq) (res *v1.LogoutRes, err error)

func (*ControllerV1) Refresh

func (c *ControllerV1) Refresh(ctx context.Context, req *v1.RefreshReq) (res *v1.RefreshRes, err error)

func (*ControllerV1) Register

func (c *ControllerV1) Register(ctx context.Context, req *v1.RegisterReq) (res *v1.RegisterRes, err error)

Jump to

Keyboard shortcuts

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