Documentation
¶
Index ¶
- Constants
- type Config
- type SSOLoginModel
- type SSOLoginRepository
- type SSOLoginRepositoryImpl
- func (impl SSOLoginRepositoryImpl) Create(userModel *SSOLoginModel, tx *pg.Tx) (*SSOLoginModel, error)
- func (impl SSOLoginRepositoryImpl) Delete(userModel *SSOLoginModel, tx *pg.Tx) (bool, error)
- func (impl SSOLoginRepositoryImpl) GetActive() (*SSOLoginModel, error)
- func (impl SSOLoginRepositoryImpl) GetAll() ([]SSOLoginModel, error)
- func (impl SSOLoginRepositoryImpl) GetById(id int32) (*SSOLoginModel, error)
- func (impl SSOLoginRepositoryImpl) GetByName(name string) (*SSOLoginModel, error)
- func (impl *SSOLoginRepositoryImpl) GetConnection() (dbConnection *pg.DB)
- func (impl SSOLoginRepositoryImpl) Update(userModel *SSOLoginModel, tx *pg.Tx) (*SSOLoginModel, error)
- type SSOLoginService
- type SSOLoginServiceImpl
- func (impl SSOLoginServiceImpl) CreateSSOLogin(request *bean.SSOLoginDto) (*bean.SSOLoginDto, error)
- func (impl SSOLoginServiceImpl) GetAll() ([]*bean.SSOLoginDto, error)
- func (impl SSOLoginServiceImpl) GetById(id int32) (*bean.SSOLoginDto, error)
- func (impl SSOLoginServiceImpl) GetByName(name string) (*bean.SSOLoginDto, error)
- func (impl SSOLoginServiceImpl) UpdateSSOLogin(request *bean.SSOLoginDto) (*bean.SSOLoginDto, error)
Constants ¶
View Source
const ClientID = "clientID"
View Source
const ClientSecret = "clientSecret"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSOLoginModel ¶ added in v0.3.9
type SSOLoginRepository ¶ added in v0.3.9
type SSOLoginRepository interface { Create(userModel *SSOLoginModel, tx *pg.Tx) (*SSOLoginModel, error) Update(userModel *SSOLoginModel, tx *pg.Tx) (*SSOLoginModel, error) GetById(id int32) (*SSOLoginModel, error) GetAll() ([]SSOLoginModel, error) GetActive() (*SSOLoginModel, error) Delete(userModel *SSOLoginModel, tx *pg.Tx) (bool, error) GetByName(name string) (*SSOLoginModel, error) GetConnection() (dbConnection *pg.DB) }
type SSOLoginRepositoryImpl ¶ added in v0.3.9
type SSOLoginRepositoryImpl struct { Logger *zap.SugaredLogger // contains filtered or unexported fields }
func NewSSOLoginRepositoryImpl ¶ added in v0.3.9
func NewSSOLoginRepositoryImpl(dbConnection *pg.DB) *SSOLoginRepositoryImpl
func (SSOLoginRepositoryImpl) Create ¶ added in v0.3.9
func (impl SSOLoginRepositoryImpl) Create(userModel *SSOLoginModel, tx *pg.Tx) (*SSOLoginModel, error)
func (SSOLoginRepositoryImpl) Delete ¶ added in v0.3.9
func (impl SSOLoginRepositoryImpl) Delete(userModel *SSOLoginModel, tx *pg.Tx) (bool, error)
func (SSOLoginRepositoryImpl) GetActive ¶ added in v0.3.9
func (impl SSOLoginRepositoryImpl) GetActive() (*SSOLoginModel, error)
func (SSOLoginRepositoryImpl) GetAll ¶ added in v0.3.9
func (impl SSOLoginRepositoryImpl) GetAll() ([]SSOLoginModel, error)
func (SSOLoginRepositoryImpl) GetById ¶ added in v0.3.9
func (impl SSOLoginRepositoryImpl) GetById(id int32) (*SSOLoginModel, error)
func (SSOLoginRepositoryImpl) GetByName ¶ added in v0.3.9
func (impl SSOLoginRepositoryImpl) GetByName(name string) (*SSOLoginModel, error)
func (*SSOLoginRepositoryImpl) GetConnection ¶ added in v0.3.9
func (impl *SSOLoginRepositoryImpl) GetConnection() (dbConnection *pg.DB)
func (SSOLoginRepositoryImpl) Update ¶ added in v0.3.9
func (impl SSOLoginRepositoryImpl) Update(userModel *SSOLoginModel, tx *pg.Tx) (*SSOLoginModel, error)
type SSOLoginService ¶
type SSOLoginService interface { CreateSSOLogin(userInfo *bean.SSOLoginDto) (*bean.SSOLoginDto, error) UpdateSSOLogin(userInfo *bean.SSOLoginDto) (*bean.SSOLoginDto, error) GetById(id int32) (*bean.SSOLoginDto, error) GetAll() ([]*bean.SSOLoginDto, error) GetByName(name string) (*bean.SSOLoginDto, error) }
type SSOLoginServiceImpl ¶
func NewSSOLoginServiceImpl ¶
func NewSSOLoginServiceImpl( logger *zap.SugaredLogger, ssoLoginRepository SSOLoginRepository, K8sUtil *util.K8sUtil, devtronSecretConfig *util2.DevtronSecretConfig, userAuthOidcHelper auth.UserAuthOidcHelper) *SSOLoginServiceImpl
func (SSOLoginServiceImpl) CreateSSOLogin ¶
func (impl SSOLoginServiceImpl) CreateSSOLogin(request *bean.SSOLoginDto) (*bean.SSOLoginDto, error)
func (SSOLoginServiceImpl) GetAll ¶
func (impl SSOLoginServiceImpl) GetAll() ([]*bean.SSOLoginDto, error)
func (SSOLoginServiceImpl) GetById ¶
func (impl SSOLoginServiceImpl) GetById(id int32) (*bean.SSOLoginDto, error)
func (SSOLoginServiceImpl) GetByName ¶
func (impl SSOLoginServiceImpl) GetByName(name string) (*bean.SSOLoginDto, error)
func (SSOLoginServiceImpl) UpdateSSOLogin ¶
func (impl SSOLoginServiceImpl) UpdateSSOLogin(request *bean.SSOLoginDto) (*bean.SSOLoginDto, error)
Click to show internal directories.
Click to hide internal directories.