Documentation
¶
Index ¶
- type SetupWizardImpl
- func (s *SetupWizardImpl) CompleteSetup(ctx context.Context, req *artel_api.CompleteSetup_Request) (*artel_api.CompleteSetup_Response, error)
- func (s *SetupWizardImpl) Gateway(ctx context.Context, endpoint string, opts ...grpc.DialOption) (string, http.Handler)
- func (s *SetupWizardImpl) GetStatus(ctx context.Context, _ *artel_api.GetStatus_Request) (*artel_api.GetStatus_Response, error)
- func (s *SetupWizardImpl) Register(srv grpc.ServiceRegistrar)
- func (s *SetupWizardImpl) SelectAuthMethods(ctx context.Context, req *artel_api.SelectAuthMethods_Request) (*artel_api.SelectAuthMethods_Response, error)
- func (s *SetupWizardImpl) SelectRegistrationMode(ctx context.Context, req *artel_api.SelectRegistrationMode_Request) (*artel_api.SelectRegistrationMode_Response, error)
- func (s *SetupWizardImpl) SubmitToken(ctx context.Context, req *artel_api.SubmitToken_Request) (*artel_api.SubmitToken_Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SetupWizardImpl ¶
type SetupWizardImpl struct {
artel_api.UnimplementedSetupWizardAPIServer
// contains filtered or unexported fields
}
SetupWizardImpl implements the SetupWizardAPI proto interface. Every RPC here is unauthenticated at the interceptor level (see WithIgnoredPathAuthOption in internal/app/custom.go) — CompleteSetup/SelectAuthMethods/SelectRegistrationMode instead gate on the wizardSessionToken minted by SubmitToken, checked inside SetupWizardService itself.
func New ¶
func New(svc service.SetupWizardService, cookieSecure bool) *SetupWizardImpl
func (*SetupWizardImpl) CompleteSetup ¶
func (s *SetupWizardImpl) CompleteSetup( ctx context.Context, req *artel_api.CompleteSetup_Request, ) (*artel_api.CompleteSetup_Response, error)
func (*SetupWizardImpl) Gateway ¶
func (s *SetupWizardImpl) Gateway(ctx context.Context, endpoint string, opts ...grpc.DialOption) (string, http.Handler)
func (*SetupWizardImpl) GetStatus ¶
func (s *SetupWizardImpl) GetStatus( ctx context.Context, _ *artel_api.GetStatus_Request, ) (*artel_api.GetStatus_Response, error)
func (*SetupWizardImpl) Register ¶
func (s *SetupWizardImpl) Register(srv grpc.ServiceRegistrar)
func (*SetupWizardImpl) SelectAuthMethods ¶
func (s *SetupWizardImpl) SelectAuthMethods( ctx context.Context, req *artel_api.SelectAuthMethods_Request, ) (*artel_api.SelectAuthMethods_Response, error)
func (*SetupWizardImpl) SelectRegistrationMode ¶
func (s *SetupWizardImpl) SelectRegistrationMode( ctx context.Context, req *artel_api.SelectRegistrationMode_Request, ) (*artel_api.SelectRegistrationMode_Response, error)
func (*SetupWizardImpl) SubmitToken ¶
func (s *SetupWizardImpl) SubmitToken( ctx context.Context, req *artel_api.SubmitToken_Request, ) (*artel_api.SubmitToken_Response, error)
Click to show internal directories.
Click to hide internal directories.