oauthprovider

package
v1.3.14 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateOauthProviderLogic

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

func NewCreateOauthProviderLogic

func NewCreateOauthProviderLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOauthProviderLogic

func (*CreateOauthProviderLogic) CreateOauthProvider

func (l *CreateOauthProviderLogic) CreateOauthProvider(in *mms.OauthProviderInfo) (*mms.BaseIDResp, error)

type DeleteOauthProviderLogic

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

func NewDeleteOauthProviderLogic

func NewDeleteOauthProviderLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteOauthProviderLogic

func (*DeleteOauthProviderLogic) DeleteOauthProvider

func (l *DeleteOauthProviderLogic) DeleteOauthProvider(in *mms.IDsReq) (*mms.BaseResp, error)

type GetOauthProviderByIdLogic

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

func NewGetOauthProviderByIdLogic

func NewGetOauthProviderByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetOauthProviderByIdLogic

func (*GetOauthProviderByIdLogic) GetOauthProviderById

func (l *GetOauthProviderByIdLogic) GetOauthProviderById(in *mms.IDReq) (*mms.OauthProviderInfo, error)

type GetOauthProviderListLogic

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

func NewGetOauthProviderListLogic

func NewGetOauthProviderListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetOauthProviderListLogic

func (*GetOauthProviderListLogic) GetOauthProviderList

type OauthCallbackLogic

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

func NewOauthCallbackLogic

func NewOauthCallbackLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OauthCallbackLogic

func (*OauthCallbackLogic) OauthCallback

func (l *OauthCallbackLogic) OauthCallback(in *mms.CallbackReq) (*mms.MemberInfo, 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

type UpdateOauthProviderLogic

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

func NewUpdateOauthProviderLogic

func NewUpdateOauthProviderLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateOauthProviderLogic

func (*UpdateOauthProviderLogic) UpdateOauthProvider

func (l *UpdateOauthProviderLogic) UpdateOauthProvider(in *mms.OauthProviderInfo) (*mms.BaseResp, error)

type WechatMiniProgramLoginLogic

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

func NewWechatMiniProgramLoginLogic

func NewWechatMiniProgramLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *WechatMiniProgramLoginLogic

func (*WechatMiniProgramLoginLogic) WechatMiniProgramLogin

func (l *WechatMiniProgramLoginLogic) WechatMiniProgramLogin(in *mms.OauthLoginReq) (*mms.BaseResp, error)

type WechatMiniProgramLoginResp

type WechatMiniProgramLoginResp struct {
	OpenId     string `json:"openid,omitempty"`
	SessionKey string `json:"session_key,omitempty"`
	UnionId    string `json:"unionid,omitempty"`
	ErrorCode  int    `json:"errcode,omitempty"`
	ErrorMsg   string `json:"errmsg,omitempty"`
}

Jump to

Keyboard shortcuts

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