oauthprovider

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFeishuUserInfo added in v1.5.2

func GetFeishuUserInfo(c oauth2.Config, code string) ([]byte, error)

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 *core.OauthProviderInfo) (*core.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 *core.IDsReq) (*core.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 *core.IDReq) (*core.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 *core.CallbackReq) (*core.UserInfo, 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 *core.OauthProviderInfo) (*core.BaseResp, error)

Jump to

Keyboard shortcuts

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