Documentation
¶
Overview ¶
Package setupwizard implements the first-run setup wizard — see internal/service/interfaces.go's SetupWizardService doc comment for the flow this drives.
Index ¶
- type Service
- func (s *Service) CompleteSetup(ctx context.Context, wizardSessionToken string, ...) (domain.Session, error)
- func (s *Service) CurrentStatus(ctx context.Context) (domain.SystemSettings, error)
- func (s *Service) RegenerateSetupToken(ctx context.Context) (string, error)
- func (s *Service) SelectAuthMethods(ctx context.Context, wizardSessionToken string, ...) error
- func (s *Service) SelectRegistrationMode(ctx context.Context, wizardSessionToken string, mode domain.RegistrationMode) error
- func (s *Service) SubmitToken(ctx context.Context, token string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New(settingsRepo repository.SystemSettingsRepo, authSvc service.AuthService) *Service
func (*Service) CompleteSetup ¶
func (*Service) CurrentStatus ¶
func (*Service) RegenerateSetupToken ¶
func (*Service) SelectAuthMethods ¶
func (*Service) SelectRegistrationMode ¶
Click to show internal directories.
Click to hide internal directories.