Documentation ¶
Index ¶
- Variables
- type SsoLoginRestHandler
- type SsoLoginRestHandlerImpl
- func (handler SsoLoginRestHandlerImpl) CreateSSOLoginConfig(w http.ResponseWriter, r *http.Request)
- func (handler SsoLoginRestHandlerImpl) GetAllSSOLoginConfig(w http.ResponseWriter, r *http.Request)
- func (handler SsoLoginRestHandlerImpl) GetSSOLoginConfig(w http.ResponseWriter, r *http.Request)
- func (handler SsoLoginRestHandlerImpl) GetSSOLoginConfigByName(w http.ResponseWriter, r *http.Request)
- func (handler SsoLoginRestHandlerImpl) UpdateSSOLoginConfig(w http.ResponseWriter, r *http.Request)
- type SsoLoginRouter
- type SsoLoginRouterImpl
Constants ¶
This section is empty.
Variables ¶
View Source
var SsoConfigWireSet = wire.NewSet( sso.NewSSOLoginServiceImpl, wire.Bind(new(sso.SSOLoginService), new(*sso.SSOLoginServiceImpl)), sso.NewSSOLoginRepositoryImpl, wire.Bind(new(sso.SSOLoginRepository), new(*sso.SSOLoginRepositoryImpl)), NewSsoLoginRouterImpl, wire.Bind(new(SsoLoginRouter), new(*SsoLoginRouterImpl)), NewSsoLoginRestHandlerImpl, wire.Bind(new(SsoLoginRestHandler), new(*SsoLoginRestHandlerImpl)), )
Functions ¶
This section is empty.
Types ¶
type SsoLoginRestHandler ¶
type SsoLoginRestHandler interface { CreateSSOLoginConfig(w http.ResponseWriter, r *http.Request) UpdateSSOLoginConfig(w http.ResponseWriter, r *http.Request) GetAllSSOLoginConfig(w http.ResponseWriter, r *http.Request) GetSSOLoginConfig(w http.ResponseWriter, r *http.Request) GetSSOLoginConfigByName(w http.ResponseWriter, r *http.Request) }
type SsoLoginRestHandlerImpl ¶
type SsoLoginRestHandlerImpl struct {
// contains filtered or unexported fields
}
func NewSsoLoginRestHandlerImpl ¶
func NewSsoLoginRestHandlerImpl(validator *validator.Validate, logger *zap.SugaredLogger, enforcer casbin.Enforcer, userService user.UserService, ssoLoginService sso.SSOLoginService) *SsoLoginRestHandlerImpl
func (SsoLoginRestHandlerImpl) CreateSSOLoginConfig ¶
func (handler SsoLoginRestHandlerImpl) CreateSSOLoginConfig(w http.ResponseWriter, r *http.Request)
func (SsoLoginRestHandlerImpl) GetAllSSOLoginConfig ¶
func (handler SsoLoginRestHandlerImpl) GetAllSSOLoginConfig(w http.ResponseWriter, r *http.Request)
func (SsoLoginRestHandlerImpl) GetSSOLoginConfig ¶
func (handler SsoLoginRestHandlerImpl) GetSSOLoginConfig(w http.ResponseWriter, r *http.Request)
func (SsoLoginRestHandlerImpl) GetSSOLoginConfigByName ¶
func (handler SsoLoginRestHandlerImpl) GetSSOLoginConfigByName(w http.ResponseWriter, r *http.Request)
func (SsoLoginRestHandlerImpl) UpdateSSOLoginConfig ¶
func (handler SsoLoginRestHandlerImpl) UpdateSSOLoginConfig(w http.ResponseWriter, r *http.Request)
type SsoLoginRouter ¶
type SsoLoginRouterImpl ¶
type SsoLoginRouterImpl struct {
// contains filtered or unexported fields
}
func NewSsoLoginRouterImpl ¶
func NewSsoLoginRouterImpl(handler SsoLoginRestHandler) *SsoLoginRouterImpl
func (SsoLoginRouterImpl) InitSsoLoginRouter ¶
func (router SsoLoginRouterImpl) InitSsoLoginRouter(userAuthRouter *mux.Router)
Click to show internal directories.
Click to hide internal directories.