connutils

package
v0.12.0-nightly.20240927 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidToken = cerrors.New("invalid token")

Functions

This section is empty.

Types

type AuthManager

type AuthManager struct {
	// contains filtered or unexported fields
}

func NewAuthManager

func NewAuthManager() *AuthManager

func (*AuthManager) Deregister

func (s *AuthManager) Deregister(token string)

func (*AuthManager) GenerateNew

func (s *AuthManager) GenerateNew(connectorID string) string

func (*AuthManager) IsTokenValid

func (s *AuthManager) IsTokenValid(token string) error

type SchemaService

type SchemaService struct {
	// contains filtered or unexported fields
}

func NewSchemaService

func NewSchemaService(
	logger log.CtxLogger,
	registry schemaregistry.Registry,
	authManager *AuthManager,
) *SchemaService

func (*SchemaService) Check

func (s *SchemaService) Check(ctx context.Context) error

func (*SchemaService) GetSchema

Jump to

Keyboard shortcuts

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