Versions in this module Expand all Collapse all v0 v0.0.30 Jan 12, 2023 v0.0.29 Jan 6, 2023 Changes in this version + var Provides = wire.NewSet(wire.Struct(new(Controller), "*"), wire.Struct(new(Service), "*")) + type ChallengeDto struct + Encrypt string + type Controller struct + FeishuService *Service + IndexService *index.Service + Passport *passport.Passport + Values *common.Values + func (x *Controller) Challenge(ctx context.Context, c *app.RequestContext) + func (x *Controller) OAuth(ctx context.Context, c *app.RequestContext) + type OAuthDto struct + Code string + State StateDto + type Service struct + Locker *locker.Locker + Passport *passport.Passport + SessionsService *sessions.Service + func (x *Service) Decrypt(encrypt string, key string) (string, error) + func (x *Service) GetTenantAccessToken(ctx context.Context) (token string, err error) + func (x *Service) GetUserAccessToken(ctx context.Context, code string) (_ model.FeishuUserData, err error) + func (x *Service) Link(ctx context.Context, userId string, data model.FeishuUserData) (_ *mongo.UpdateResult, err error) + func (x *Service) Login(ctx context.Context, openId string, metadata *model.LoginMetadata) (ts string, err error) + type StateDto struct + Action string