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