mirror of
https://github.com/owncloud/ocis
synced 2026-04-25 17:25:21 +02:00
bump mockery, add test stub for oidc_auth.go, align mock generation (#8321)
* bump mockery, add test stub for oidc_auth.go Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * use .mockery.yaml for all mocks Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * drop legacy go:generate mockery Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * align mock placement Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> --------- Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
committed by
GitHub
parent
1281a730e8
commit
fad94d2038
@@ -16,8 +16,6 @@ var (
|
||||
ErrNotSupported = errors.New("operation not supported")
|
||||
)
|
||||
|
||||
//go:generate mockery --name=UserBackend
|
||||
|
||||
// UserBackend allows the proxy to retrieve users from different user-backends (accounts-service, CS3)
|
||||
type UserBackend interface {
|
||||
GetUserByClaims(ctx context.Context, claim, value string) (*cs3.User, string, error)
|
||||
|
||||
Reference in New Issue
Block a user