oauth

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateOrUpdateProviderLogic

type CreateOrUpdateProviderLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewCreateOrUpdateProviderLogic

func NewCreateOrUpdateProviderLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrUpdateProviderLogic

func (*CreateOrUpdateProviderLogic) CreateOrUpdateProvider

func (l *CreateOrUpdateProviderLogic) CreateOrUpdateProvider(req *types.CreateOrUpdateProviderReq) (resp *types.SimpleMsg, err error)

type DeleteProviderLogic

type DeleteProviderLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeleteProviderLogic

func NewDeleteProviderLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteProviderLogic

func (*DeleteProviderLogic) DeleteProvider

func (l *DeleteProviderLogic) DeleteProvider(req *types.IDReq) (resp *types.SimpleMsg, err error)

type GetProviderListLogic

type GetProviderListLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetProviderListLogic

func NewGetProviderListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetProviderListLogic

func (*GetProviderListLogic) GetProviderList

func (l *GetProviderListLogic) GetProviderList(req *types.PageInfo) (resp *types.ProviderListResp, err error)

type OauthCallbackLogic

type OauthCallbackLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewOauthCallbackLogic

func NewOauthCallbackLogic(r *http.Request, svcCtx *svc.ServiceContext) *OauthCallbackLogic

func (*OauthCallbackLogic) OauthCallback

func (l *OauthCallbackLogic) OauthCallback() (resp *types.CallbackResp, err error)

type OauthLoginLogic

type OauthLoginLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewOauthLoginLogic

func NewOauthLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OauthLoginLogic

func (*OauthLoginLogic) OauthLogin

func (l *OauthLoginLogic) OauthLogin(req *types.OauthLoginReq) (resp *types.RedirectResp, err error)

Jump to

Keyboard shortcuts

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