Documentation
¶
Index ¶
- Variables
- type AuthInfoStore
- func (s *AuthInfoStore) DeleteAuthInfo(ctx context.Context, cmd *models.DeleteAuthInfoCommand) error
- func (s *AuthInfoStore) GetAuthInfo(ctx context.Context, query *models.GetAuthInfoQuery) error
- func (s *AuthInfoStore) GetExternalUserInfoByLogin(ctx context.Context, query *models.GetExternalUserInfoByLoginQuery) error
- func (s *AuthInfoStore) GetUserByEmail(ctx context.Context, email string) (*models.User, error)
- func (s *AuthInfoStore) GetUserById(ctx context.Context, id int64) (*models.User, error)
- func (s *AuthInfoStore) GetUserByLogin(ctx context.Context, login string) (*models.User, error)
- func (s *AuthInfoStore) SetAuthInfo(ctx context.Context, cmd *models.SetAuthInfoCommand) error
- func (s *AuthInfoStore) UpdateAuthInfo(ctx context.Context, cmd *models.UpdateAuthInfoCommand) error
Constants ¶
This section is empty.
Variables ¶
View Source
var GetTime = time.Now
Functions ¶
This section is empty.
Types ¶
type AuthInfoStore ¶
type AuthInfoStore struct {
// contains filtered or unexported fields
}
func ProvideAuthInfoStore ¶
func ProvideAuthInfoStore(sqlStore sqlstore.Store, secretsService secrets.Service) *AuthInfoStore
func (*AuthInfoStore) DeleteAuthInfo ¶
func (s *AuthInfoStore) DeleteAuthInfo(ctx context.Context, cmd *models.DeleteAuthInfoCommand) error
func (*AuthInfoStore) GetAuthInfo ¶
func (s *AuthInfoStore) GetAuthInfo(ctx context.Context, query *models.GetAuthInfoQuery) error
func (*AuthInfoStore) GetExternalUserInfoByLogin ¶
func (s *AuthInfoStore) GetExternalUserInfoByLogin(ctx context.Context, query *models.GetExternalUserInfoByLoginQuery) error
func (*AuthInfoStore) GetUserByEmail ¶
func (*AuthInfoStore) GetUserById ¶
func (*AuthInfoStore) GetUserByLogin ¶
func (*AuthInfoStore) SetAuthInfo ¶
func (s *AuthInfoStore) SetAuthInfo(ctx context.Context, cmd *models.SetAuthInfoCommand) error
func (*AuthInfoStore) UpdateAuthInfo ¶
func (s *AuthInfoStore) UpdateAuthInfo(ctx context.Context, cmd *models.UpdateAuthInfoCommand) error
Click to show internal directories.
Click to hide internal directories.