interaction

package
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Connector *connector.Manager
	Secrets   *scy.Service
}

Service handles /ui/interaction/{uuid} endpoints.

func New

func New(connectors *connector.Manager, secrets *scy.Service) *Service

New builds interaction service.

func (*Service) Handle

func (s *Service) Handle(w http.ResponseWriter, r *http.Request)

func (*Service) HandleOAuthCallback added in v0.2.3

func (s *Service) HandleOAuthCallback(w http.ResponseWriter, r *http.Request)

HandleOAuthCallback handles the OAuth callback from Google It extracts the UUID from the state parameter and routes to the existing handler

func (*Service) Register

func (s *Service) Register(mux *http.ServeMux)

Register attaches HTTP handlers to provided mux.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL