...
1
2
3
4
5 package internal
6
7 import (
8 context "context"
9 reflect "reflect"
10
11 gomock "github.com/golang/mock/gomock"
12
13 fosite "github.com/ory/fosite"
14 )
15
16
17 type MockRevocationHandler struct {
18 ctrl *gomock.Controller
19 recorder *MockRevocationHandlerMockRecorder
20 }
21
22
23 type MockRevocationHandlerMockRecorder struct {
24 mock *MockRevocationHandler
25 }
26
27
28 func NewMockRevocationHandler(ctrl *gomock.Controller) *MockRevocationHandler {
29 mock := &MockRevocationHandler{ctrl: ctrl}
30 mock.recorder = &MockRevocationHandlerMockRecorder{mock}
31 return mock
32 }
33
34
35 func (m *MockRevocationHandler) EXPECT() *MockRevocationHandlerMockRecorder {
36 return m.recorder
37 }
38
39
40 func (m *MockRevocationHandler) RevokeToken(arg0 context.Context, arg1 string, arg2 fosite.TokenType, arg3 fosite.Client) error {
41 m.ctrl.T.Helper()
42 ret := m.ctrl.Call(m, "RevokeToken", arg0, arg1, arg2, arg3)
43 ret0, _ := ret[0].(error)
44 return ret0
45 }
46
47
48 func (mr *MockRevocationHandlerMockRecorder) RevokeToken(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
49 mr.mock.ctrl.T.Helper()
50 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RevokeToken", reflect.TypeOf((*MockRevocationHandler)(nil).RevokeToken), arg0, arg1, arg2, arg3)
51 }
52
View as plain text