oidc

package
v0.0.0-...-a548ab7 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetaManager

type MetaManager struct {
	mock.Mock
}

MetaManager is an autogenerated mock type for the MetaManager type

func NewMetaManager

func NewMetaManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *MetaManager

NewMetaManager creates a new instance of MetaManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MetaManager) Create

func (_m *MetaManager) Create(ctx context.Context, oidcUser *models.OIDCUser) (int, error)

Create provides a mock function with given fields: ctx, oidcUser

func (*MetaManager) DeleteByUserID

func (_m *MetaManager) DeleteByUserID(ctx context.Context, uid int) error

DeleteByUserID provides a mock function with given fields: ctx, uid

func (*MetaManager) GetBySubIss

func (_m *MetaManager) GetBySubIss(ctx context.Context, sub string, iss string) (*models.OIDCUser, error)

GetBySubIss provides a mock function with given fields: ctx, sub, iss

func (*MetaManager) GetByUserID

func (_m *MetaManager) GetByUserID(ctx context.Context, uid int) (*models.OIDCUser, error)

GetByUserID provides a mock function with given fields: ctx, uid

func (*MetaManager) SetCliSecretByUserID

func (_m *MetaManager) SetCliSecretByUserID(ctx context.Context, uid int, secret string) error

SetCliSecretByUserID provides a mock function with given fields: ctx, uid, secret

func (*MetaManager) Update

func (_m *MetaManager) Update(ctx context.Context, oidcUser *models.OIDCUser, cols ...string) error

Update provides a mock function with given fields: ctx, oidcUser, cols

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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