serviceregistration

package
v11.1.4-modfix Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: AGPL-3.0 Imports: 9 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 {
	// contains filtered or unexported fields
}

func (*Service) HasExternalService

func (s *Service) HasExternalService(ctx context.Context, pluginID string) (bool, error)

func (*Service) RegisterExternalService

func (s *Service) RegisterExternalService(ctx context.Context, pluginID string, pType pfs.Type, svc *pfs.IAM) (*auth.ExternalService, error)

RegisterExternalService is a simplified wrapper around SaveExternalService for the plugin use case.

func (*Service) RemoveExternalService

func (s *Service) RemoveExternalService(ctx context.Context, pluginID string) error

RemoveExternalService removes the external service account associated to a plugin

Jump to

Keyboard shortcuts

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