Debian Codegraph @

pkg/op/mock/glob.mock.go

raw
1 // Code generated by MockGen. DO NOT EDIT.
2 // Source: github.com/zitadel/oidc/v3/pkg/op (interfaces: HasRedirectGlobs)
3
4 // Package mock is a generated GoMock package.
5 package mock
6
7 import (
8 reflect "reflect"
9 time "time"
10
11 gomock "github.com/golang/mock/gomock"
12 oidc "github.com/zitadel/oidc/v3/pkg/oidc"
13 op "github.com/zitadel/oidc/v3/pkg/op"
14 )
15
16 // MockHasRedirectGlobs is a mock of HasRedirectGlobs interface.
17 type MockHasRedirectGlobs struct {
18 ctrl *gomock.Controller
19 recorder *MockHasRedirectGlobsMockRecorder
20 }
21
22 // MockHasRedirectGlobsMockRecorder is the mock recorder for MockHasRedirectGlobs.
23 type MockHasRedirectGlobsMockRecorder struct {
24 mock *MockHasRedirectGlobs
25 }
26
27 // NewMockHasRedirectGlobs creates a new mock instance.
28 func NewMockHasRedirectGlobs(ctrl *gomock.Controller) *MockHasRedirectGlobs {
29 mock := &MockHasRedirectGlobs{ctrl: ctrl}
30 mock.recorder = &MockHasRedirectGlobsMockRecorder{mock}
31 return mock
32 }
33
34 // EXPECT returns an object that allows the caller to indicate expected use.
35 func (m *MockHasRedirectGlobs) EXPECT() *MockHasRedirectGlobsMockRecorder {
36 return m.recorder
37 }
38
39 // AccessTokenType mocks base method.
40 func (m *MockHasRedirectGlobs) AccessTokenType() op.AccessTokenType {
41 m.ctrl.T.Helper()
42 ret := m.ctrl.Call(m, "AccessTokenType")
43 ret0, _ := ret[0].(op.AccessTokenType)
44 return ret0
45 }
46
47 // AccessTokenType indicates an expected call of AccessTokenType.
48 func (mr *MockHasRedirectGlobsMockRecorder) AccessTokenType() *gomock.Call {
49 mr.mock.ctrl.T.Helper()
50 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AccessTokenType", reflect.TypeOf((*MockHasRedirectGlobs)(nil).AccessTokenType))
51 }
52
53 // ApplicationType mocks base method.
54 func (m *MockHasRedirectGlobs) ApplicationType() op.ApplicationType {
55 m.ctrl.T.Helper()
56 ret := m.ctrl.Call(m, "ApplicationType")
57 ret0, _ := ret[0].(op.ApplicationType)
58 return ret0
59 }
60
61 // ApplicationType indicates an expected call of ApplicationType.
62 func (mr *MockHasRedirectGlobsMockRecorder) ApplicationType() *gomock.Call {
63 mr.mock.ctrl.T.Helper()
64 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ApplicationType", reflect.TypeOf((*MockHasRedirectGlobs)(nil).ApplicationType))
65 }
66
67 // AuthMethod mocks base method.
68 func (m *MockHasRedirectGlobs) AuthMethod() oidc.AuthMethod {
69 m.ctrl.T.Helper()
70 ret := m.ctrl.Call(m, "AuthMethod")
71 ret0, _ := ret[0].(oidc.AuthMethod)
72 return ret0
73 }
74
75 // AuthMethod indicates an expected call of AuthMethod.
76 func (mr *MockHasRedirectGlobsMockRecorder) AuthMethod() *gomock.Call {
77 mr.mock.ctrl.T.Helper()
78 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AuthMethod", reflect.TypeOf((*MockHasRedirectGlobs)(nil).AuthMethod))
79 }
80
81 // ClockSkew mocks base method.
82 func (m *MockHasRedirectGlobs) ClockSkew() time.Duration {
83 m.ctrl.T.Helper()
84 ret := m.ctrl.Call(m, "ClockSkew")
85 ret0, _ := ret[0].(time.Duration)
86 return ret0
87 }
88
89 // ClockSkew indicates an expected call of ClockSkew.
90 func (mr *MockHasRedirectGlobsMockRecorder) ClockSkew() *gomock.Call {
91 mr.mock.ctrl.T.Helper()
92 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClockSkew", reflect.TypeOf((*MockHasRedirectGlobs)(nil).ClockSkew))
93 }
94
95 // DevMode mocks base method.
96 func (m *MockHasRedirectGlobs) DevMode() bool {
97 m.ctrl.T.Helper()
98 ret := m.ctrl.Call(m, "DevMode")
99 ret0, _ := ret[0].(bool)
100 return ret0
101 }
102
103 // DevMode indicates an expected call of DevMode.
104 func (mr *MockHasRedirectGlobsMockRecorder) DevMode() *gomock.Call {
105 mr.mock.ctrl.T.Helper()
106 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DevMode", reflect.TypeOf((*MockHasRedirectGlobs)(nil).DevMode))
107 }
108
109 // GetID mocks base method.
110 func (m *MockHasRedirectGlobs) GetID() string {
111 m.ctrl.T.Helper()
112 ret := m.ctrl.Call(m, "GetID")
113 ret0, _ := ret[0].(string)
114 return ret0
115 }
116
117 // GetID indicates an expected call of GetID.
118 func (mr *MockHasRedirectGlobsMockRecorder) GetID() *gomock.Call {
119 mr.mock.ctrl.T.Helper()
120 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetID", reflect.TypeOf((*MockHasRedirectGlobs)(nil).GetID))
121 }
122
123 // GrantTypes mocks base method.
124 func (m *MockHasRedirectGlobs) GrantTypes() []oidc.GrantType {
125 m.ctrl.T.Helper()
126 ret := m.ctrl.Call(m, "GrantTypes")
127 ret0, _ := ret[0].([]oidc.GrantType)
128 return ret0
129 }
130
131 // GrantTypes indicates an expected call of GrantTypes.
132 func (mr *MockHasRedirectGlobsMockRecorder) GrantTypes() *gomock.Call {
133 mr.mock.ctrl.T.Helper()
134 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GrantTypes", reflect.TypeOf((*MockHasRedirectGlobs)(nil).GrantTypes))
135 }
136
137 // IDTokenLifetime mocks base method.
138 func (m *MockHasRedirectGlobs) IDTokenLifetime() time.Duration {
139 m.ctrl.T.Helper()
140 ret := m.ctrl.Call(m, "IDTokenLifetime")
141 ret0, _ := ret[0].(time.Duration)
142 return ret0
143 }
144
145 // IDTokenLifetime indicates an expected call of IDTokenLifetime.
146 func (mr *MockHasRedirectGlobsMockRecorder) IDTokenLifetime() *gomock.Call {
147 mr.mock.ctrl.T.Helper()
148 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IDTokenLifetime", reflect.TypeOf((*MockHasRedirectGlobs)(nil).IDTokenLifetime))
149 }
150
151 // IDTokenUserinfoClaimsAssertion mocks base method.
152 func (m *MockHasRedirectGlobs) IDTokenUserinfoClaimsAssertion() bool {
153 m.ctrl.T.Helper()
154 ret := m.ctrl.Call(m, "IDTokenUserinfoClaimsAssertion")
155 ret0, _ := ret[0].(bool)
156 return ret0
157 }
158
159 // IDTokenUserinfoClaimsAssertion indicates an expected call of IDTokenUserinfoClaimsAssertion.
160 func (mr *MockHasRedirectGlobsMockRecorder) IDTokenUserinfoClaimsAssertion() *gomock.Call {
161 mr.mock.ctrl.T.Helper()
162 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IDTokenUserinfoClaimsAssertion", reflect.TypeOf((*MockHasRedirectGlobs)(nil).IDTokenUserinfoClaimsAssertion))
163 }
164
165 // IsScopeAllowed mocks base method.
166 func (m *MockHasRedirectGlobs) IsScopeAllowed(arg0 string) bool {
167 m.ctrl.T.Helper()
168 ret := m.ctrl.Call(m, "IsScopeAllowed", arg0)
169 ret0, _ := ret[0].(bool)
170 return ret0
171 }
172
173 // IsScopeAllowed indicates an expected call of IsScopeAllowed.
174 func (mr *MockHasRedirectGlobsMockRecorder) IsScopeAllowed(arg0 interface{}) *gomock.Call {
175 mr.mock.ctrl.T.Helper()
176 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsScopeAllowed", reflect.TypeOf((*MockHasRedirectGlobs)(nil).IsScopeAllowed), arg0)
177 }
178
179 // LoginURL mocks base method.
180 func (m *MockHasRedirectGlobs) LoginURL(arg0 string) string {
181 m.ctrl.T.Helper()
182 ret := m.ctrl.Call(m, "LoginURL", arg0)
183 ret0, _ := ret[0].(string)
184 return ret0
185 }
186
187 // LoginURL indicates an expected call of LoginURL.
188 func (mr *MockHasRedirectGlobsMockRecorder) LoginURL(arg0 interface{}) *gomock.Call {
189 mr.mock.ctrl.T.Helper()
190 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoginURL", reflect.TypeOf((*MockHasRedirectGlobs)(nil).LoginURL), arg0)
191 }
192
193 // PostLogoutRedirectURIGlobs mocks base method.
194 func (m *MockHasRedirectGlobs) PostLogoutRedirectURIGlobs() []string {
195 m.ctrl.T.Helper()
196 ret := m.ctrl.Call(m, "PostLogoutRedirectURIGlobs")
197 ret0, _ := ret[0].([]string)
198 return ret0
199 }
200
201 // PostLogoutRedirectURIGlobs indicates an expected call of PostLogoutRedirectURIGlobs.
202 func (mr *MockHasRedirectGlobsMockRecorder) PostLogoutRedirectURIGlobs() *gomock.Call {
203 mr.mock.ctrl.T.Helper()
204 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostLogoutRedirectURIGlobs", reflect.TypeOf((*MockHasRedirectGlobs)(nil).PostLogoutRedirectURIGlobs))
205 }
206
207 // PostLogoutRedirectURIs mocks base method.
208 func (m *MockHasRedirectGlobs) PostLogoutRedirectURIs() []string {
209 m.ctrl.T.Helper()
210 ret := m.ctrl.Call(m, "PostLogoutRedirectURIs")
211 ret0, _ := ret[0].([]string)
212 return ret0
213 }
214
215 // PostLogoutRedirectURIs indicates an expected call of PostLogoutRedirectURIs.
216 func (mr *MockHasRedirectGlobsMockRecorder) PostLogoutRedirectURIs() *gomock.Call {
217 mr.mock.ctrl.T.Helper()
218 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostLogoutRedirectURIs", reflect.TypeOf((*MockHasRedirectGlobs)(nil).PostLogoutRedirectURIs))
219 }
220
221 // RedirectURIGlobs mocks base method.
222 func (m *MockHasRedirectGlobs) RedirectURIGlobs() []string {
223 m.ctrl.T.Helper()
224 ret := m.ctrl.Call(m, "RedirectURIGlobs")
225 ret0, _ := ret[0].([]string)
226 return ret0
227 }
228
229 // RedirectURIGlobs indicates an expected call of RedirectURIGlobs.
230 func (mr *MockHasRedirectGlobsMockRecorder) RedirectURIGlobs() *gomock.Call {
231 mr.mock.ctrl.T.Helper()
232 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RedirectURIGlobs", reflect.TypeOf((*MockHasRedirectGlobs)(nil).RedirectURIGlobs))
233 }
234
235 // RedirectURIs mocks base method.
236 func (m *MockHasRedirectGlobs) RedirectURIs() []string {
237 m.ctrl.T.Helper()
238 ret := m.ctrl.Call(m, "RedirectURIs")
239 ret0, _ := ret[0].([]string)
240 return ret0
241 }
242
243 // RedirectURIs indicates an expected call of RedirectURIs.
244 func (mr *MockHasRedirectGlobsMockRecorder) RedirectURIs() *gomock.Call {
245 mr.mock.ctrl.T.Helper()
246 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RedirectURIs", reflect.TypeOf((*MockHasRedirectGlobs)(nil).RedirectURIs))
247 }
248
249 // ResponseTypes mocks base method.
250 func (m *MockHasRedirectGlobs) ResponseTypes() []oidc.ResponseType {
251 m.ctrl.T.Helper()
252 ret := m.ctrl.Call(m, "ResponseTypes")
253 ret0, _ := ret[0].([]oidc.ResponseType)
254 return ret0
255 }
256
257 // ResponseTypes indicates an expected call of ResponseTypes.
258 func (mr *MockHasRedirectGlobsMockRecorder) ResponseTypes() *gomock.Call {
259 mr.mock.ctrl.T.Helper()
260 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResponseTypes", reflect.TypeOf((*MockHasRedirectGlobs)(nil).ResponseTypes))
261 }
262
263 // RestrictAdditionalAccessTokenScopes mocks base method.
264 func (m *MockHasRedirectGlobs) RestrictAdditionalAccessTokenScopes() func([]string) []string {
265 m.ctrl.T.Helper()
266 ret := m.ctrl.Call(m, "RestrictAdditionalAccessTokenScopes")
267 ret0, _ := ret[0].(func([]string) []string)
268 return ret0
269 }
270
271 // RestrictAdditionalAccessTokenScopes indicates an expected call of RestrictAdditionalAccessTokenScopes.
272 func (mr *MockHasRedirectGlobsMockRecorder) RestrictAdditionalAccessTokenScopes() *gomock.Call {
273 mr.mock.ctrl.T.Helper()
274 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RestrictAdditionalAccessTokenScopes", reflect.TypeOf((*MockHasRedirectGlobs)(nil).RestrictAdditionalAccessTokenScopes))
275 }
276
277 // RestrictAdditionalIdTokenScopes mocks base method.
278 func (m *MockHasRedirectGlobs) RestrictAdditionalIdTokenScopes() func([]string) []string {
279 m.ctrl.T.Helper()
280 ret := m.ctrl.Call(m, "RestrictAdditionalIdTokenScopes")
281 ret0, _ := ret[0].(func([]string) []string)
282 return ret0
283 }
284
285 // RestrictAdditionalIdTokenScopes indicates an expected call of RestrictAdditionalIdTokenScopes.
286 func (mr *MockHasRedirectGlobsMockRecorder) RestrictAdditionalIdTokenScopes() *gomock.Call {
287 mr.mock.ctrl.T.Helper()
288 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RestrictAdditionalIdTokenScopes", reflect.TypeOf((*MockHasRedirectGlobs)(nil).RestrictAdditionalIdTokenScopes))
289 }