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
Click to show internal directories.
Click to hide internal directories.