oauthStore

package
v0.0.0-...-27c9e6d Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OauthStore

type OauthStore interface {
	AddUserProvider(ctx context.Context, userProvider models.UserProvider) error
	DeleteUserProvider(ctx context.Context, accountId, userProviderName string) error
	GetUserProviderByName(ctx context.Context, accountId, name string) (models.UserProvider, error)
	GetUserProviderByTag(ctx context.Context, tag string) (models.UserProvider, error)
	UpdateUserProvider(ctx context.Context, userProvider models.UserProvider) error
	GetAllUserProviders(ctx context.Context, accountId string) ([]models.UserProvider, error)
}

func New

func New(db *db.DB) OauthStore

Jump to

Keyboard shortcuts

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