forked from ory/fosite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
client.go
100 lines (80 loc) · 2.43 KB
/
client.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
// Automatically generated by MockGen. DO NOT EDIT!
// Source: github.com/ory-am/fosite (interfaces: Client)
package internal
import (
gomock "github.com/golang/mock/gomock"
fosite "github.com/ory-am/fosite"
)
// Mock of Client interface
type MockClient struct {
ctrl *gomock.Controller
recorder *_MockClientRecorder
}
// Recorder for MockClient (not exported)
type _MockClientRecorder struct {
mock *MockClient
}
func NewMockClient(ctrl *gomock.Controller) *MockClient {
mock := &MockClient{ctrl: ctrl}
mock.recorder = &_MockClientRecorder{mock}
return mock
}
func (_m *MockClient) EXPECT() *_MockClientRecorder {
return _m.recorder
}
func (_m *MockClient) GetGrantTypes() fosite.Arguments {
ret := _m.ctrl.Call(_m, "GetGrantTypes")
ret0, _ := ret[0].(fosite.Arguments)
return ret0
}
func (_mr *_MockClientRecorder) GetGrantTypes() *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "GetGrantTypes")
}
func (_m *MockClient) GetHashedSecret() []byte {
ret := _m.ctrl.Call(_m, "GetHashedSecret")
ret0, _ := ret[0].([]byte)
return ret0
}
func (_mr *_MockClientRecorder) GetHashedSecret() *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "GetHashedSecret")
}
func (_m *MockClient) GetID() string {
ret := _m.ctrl.Call(_m, "GetID")
ret0, _ := ret[0].(string)
return ret0
}
func (_mr *_MockClientRecorder) GetID() *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "GetID")
}
func (_m *MockClient) GetRedirectURIs() []string {
ret := _m.ctrl.Call(_m, "GetRedirectURIs")
ret0, _ := ret[0].([]string)
return ret0
}
func (_mr *_MockClientRecorder) GetRedirectURIs() *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "GetRedirectURIs")
}
func (_m *MockClient) GetResponseTypes() fosite.Arguments {
ret := _m.ctrl.Call(_m, "GetResponseTypes")
ret0, _ := ret[0].(fosite.Arguments)
return ret0
}
func (_mr *_MockClientRecorder) GetResponseTypes() *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "GetResponseTypes")
}
func (_m *MockClient) GetScopes() fosite.Arguments {
ret := _m.ctrl.Call(_m, "GetScopes")
ret0, _ := ret[0].(fosite.Arguments)
return ret0
}
func (_mr *_MockClientRecorder) GetScopes() *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "GetScopes")
}
func (_m *MockClient) IsPublic() bool {
ret := _m.ctrl.Call(_m, "IsPublic")
ret0, _ := ret[0].(bool)
return ret0
}
func (_mr *_MockClientRecorder) IsPublic() *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "IsPublic")
}