...
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 MockTokenIntrospector struct {
18 ctrl *gomock.Controller
19 recorder *MockTokenIntrospectorMockRecorder
20 }
21
22
23 type MockTokenIntrospectorMockRecorder struct {
24 mock *MockTokenIntrospector
25 }
26
27
28 func NewMockTokenIntrospector(ctrl *gomock.Controller) *MockTokenIntrospector {
29 mock := &MockTokenIntrospector{ctrl: ctrl}
30 mock.recorder = &MockTokenIntrospectorMockRecorder{mock}
31 return mock
32 }
33
34
35 func (m *MockTokenIntrospector) EXPECT() *MockTokenIntrospectorMockRecorder {
36 return m.recorder
37 }
38
39
40 func (m *MockTokenIntrospector) IntrospectToken(arg0 context.Context, arg1 string, arg2 fosite.TokenType, arg3 fosite.AccessRequester, arg4 []string) (fosite.TokenType, error) {
41 m.ctrl.T.Helper()
42 ret := m.ctrl.Call(m, "IntrospectToken", arg0, arg1, arg2, arg3, arg4)
43 ret0, _ := ret[0].(fosite.TokenType)
44 ret1, _ := ret[1].(error)
45 return ret0, ret1
46 }
47
48
49 func (mr *MockTokenIntrospectorMockRecorder) IntrospectToken(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
50 mr.mock.ctrl.T.Helper()
51 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IntrospectToken", reflect.TypeOf((*MockTokenIntrospector)(nil).IntrospectToken), arg0, arg1, arg2, arg3, arg4)
52 }
53
View as plain text