session

package
v0.0.75 Latest Latest
Warning

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

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

Documentation

Overview

Package session contains the business logic for creating providers from session state.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProviderSessionService

type ProviderSessionService interface {
	CreateProviderFromSessionState(
		ctx context.Context, providerClass db.ProviderClass,
		encryptedCreds *crypto.EncryptedData, state string,
	) (*db.Provider, error)
}

ProviderSessionService is the interface for creating providers from session state

func NewProviderSessionService

func NewProviderSessionService(
	providerManager manager.ProviderManager,
	provGetter providerByNameGetter,
	dbStore dbSessionStore,
) ProviderSessionService

NewProviderSessionService creates a new provider session service

Directories

Path Synopsis
Package mock_session is a generated GoMock package.
Package mock_session is a generated GoMock package.

Jump to

Keyboard shortcuts

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