summaryrefslogtreecommitdiff
path: root/internal/mocks/fosite_client_credentials_grant_storage.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/mocks/fosite_client_credentials_grant_storage.go')
-rw-r--r--internal/mocks/fosite_client_credentials_grant_storage.go14
1 files changed, 9 insertions, 5 deletions
diff --git a/internal/mocks/fosite_client_credentials_grant_storage.go b/internal/mocks/fosite_client_credentials_grant_storage.go
index 077712a7d..a35d2bc52 100644
--- a/internal/mocks/fosite_client_credentials_grant_storage.go
+++ b/internal/mocks/fosite_client_credentials_grant_storage.go
@@ -1,6 +1,10 @@
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/ory/fosite/handler/oauth2 (interfaces: ClientCredentialsGrantStorage)
-
+//
+// Generated by this command:
+//
+// mockgen -package mocks -destination fosite_client_credentials_grant_storage.go -mock_names Provider=MockClientCredentialsGrantStorage github.com/ory/fosite/handler/oauth2 ClientCredentialsGrantStorage
+//
// Package mocks is a generated GoMock package.
package mocks
@@ -8,8 +12,8 @@ import (
context "context"
reflect "reflect"
- gomock "github.com/golang/mock/gomock"
fosite "github.com/ory/fosite"
+ gomock "go.uber.org/mock/gomock"
)
// MockClientCredentialsGrantStorage is a mock of ClientCredentialsGrantStorage interface.
@@ -44,7 +48,7 @@ func (m *MockClientCredentialsGrantStorage) CreateAccessTokenSession(arg0 contex
}
// CreateAccessTokenSession indicates an expected call of CreateAccessTokenSession.
-func (mr *MockClientCredentialsGrantStorageMockRecorder) CreateAccessTokenSession(arg0, arg1, arg2 interface{}) *gomock.Call {
+func (mr *MockClientCredentialsGrantStorageMockRecorder) CreateAccessTokenSession(arg0, arg1, arg2 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateAccessTokenSession", reflect.TypeOf((*MockClientCredentialsGrantStorage)(nil).CreateAccessTokenSession), arg0, arg1, arg2)
}
@@ -58,7 +62,7 @@ func (m *MockClientCredentialsGrantStorage) DeleteAccessTokenSession(arg0 contex
}
// DeleteAccessTokenSession indicates an expected call of DeleteAccessTokenSession.
-func (mr *MockClientCredentialsGrantStorageMockRecorder) DeleteAccessTokenSession(arg0, arg1 interface{}) *gomock.Call {
+func (mr *MockClientCredentialsGrantStorageMockRecorder) DeleteAccessTokenSession(arg0, arg1 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAccessTokenSession", reflect.TypeOf((*MockClientCredentialsGrantStorage)(nil).DeleteAccessTokenSession), arg0, arg1)
}
@@ -73,7 +77,7 @@ func (m *MockClientCredentialsGrantStorage) GetAccessTokenSession(arg0 context.C
}
// GetAccessTokenSession indicates an expected call of GetAccessTokenSession.
-func (mr *MockClientCredentialsGrantStorageMockRecorder) GetAccessTokenSession(arg0, arg1, arg2 interface{}) *gomock.Call {
+func (mr *MockClientCredentialsGrantStorageMockRecorder) GetAccessTokenSession(arg0, arg1, arg2 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAccessTokenSession", reflect.TypeOf((*MockClientCredentialsGrantStorage)(nil).GetAccessTokenSession), arg0, arg1, arg2)
}