forked from ory/fosite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
openid_id_token_storage.go
62 lines (50 loc) · 2.39 KB
/
openid_id_token_storage.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// Automatically generated by MockGen. DO NOT EDIT!
// Source: github.com/ory-am/fosite/handler/openid (interfaces: OpenIDConnectRequestStorage)
package internal
import (
gomock "github.com/golang/mock/gomock"
fosite "github.com/ory-am/fosite"
context "golang.org/x/net/context"
)
// Mock of OpenIDConnectRequestStorage interface
type MockOpenIDConnectRequestStorage struct {
ctrl *gomock.Controller
recorder *_MockOpenIDConnectRequestStorageRecorder
}
// Recorder for MockOpenIDConnectRequestStorage (not exported)
type _MockOpenIDConnectRequestStorageRecorder struct {
mock *MockOpenIDConnectRequestStorage
}
func NewMockOpenIDConnectRequestStorage(ctrl *gomock.Controller) *MockOpenIDConnectRequestStorage {
mock := &MockOpenIDConnectRequestStorage{ctrl: ctrl}
mock.recorder = &_MockOpenIDConnectRequestStorageRecorder{mock}
return mock
}
func (_m *MockOpenIDConnectRequestStorage) EXPECT() *_MockOpenIDConnectRequestStorageRecorder {
return _m.recorder
}
func (_m *MockOpenIDConnectRequestStorage) CreateOpenIDConnectSession(_param0 context.Context, _param1 string, _param2 fosite.Requester) error {
ret := _m.ctrl.Call(_m, "CreateOpenIDConnectSession", _param0, _param1, _param2)
ret0, _ := ret[0].(error)
return ret0
}
func (_mr *_MockOpenIDConnectRequestStorageRecorder) CreateOpenIDConnectSession(arg0, arg1, arg2 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "CreateOpenIDConnectSession", arg0, arg1, arg2)
}
func (_m *MockOpenIDConnectRequestStorage) DeleteOpenIDConnectSession(_param0 context.Context, _param1 string) error {
ret := _m.ctrl.Call(_m, "DeleteOpenIDConnectSession", _param0, _param1)
ret0, _ := ret[0].(error)
return ret0
}
func (_mr *_MockOpenIDConnectRequestStorageRecorder) DeleteOpenIDConnectSession(arg0, arg1 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "DeleteOpenIDConnectSession", arg0, arg1)
}
func (_m *MockOpenIDConnectRequestStorage) GetOpenIDConnectSession(_param0 context.Context, _param1 string, _param2 fosite.Requester) (fosite.Requester, error) {
ret := _m.ctrl.Call(_m, "GetOpenIDConnectSession", _param0, _param1, _param2)
ret0, _ := ret[0].(fosite.Requester)
ret1, _ := ret[1].(error)
return ret0, ret1
}
func (_mr *_MockOpenIDConnectRequestStorageRecorder) GetOpenIDConnectSession(arg0, arg1, arg2 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "GetOpenIDConnectSession", arg0, arg1, arg2)
}