oauth

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: MIT Imports: 10 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(r *http.Request, svcCtx *svc.ServiceContext) *CreateOrUpdateProviderLogic

func (*CreateOrUpdateProviderLogic) CreateOrUpdateProvider

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

type DeleteProviderLogic

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

func NewDeleteProviderLogic

func NewDeleteProviderLogic(r *http.Request, svcCtx *svc.ServiceContext) *DeleteProviderLogic

func (*DeleteProviderLogic) DeleteProvider

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

type GetProviderListLogic

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

func NewGetProviderListLogic

func NewGetProviderListLogic(r *http.Request, 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(r *http.Request, 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