-
Notifications
You must be signed in to change notification settings - Fork 370
/
Copy pathpushed_authorize_handler.go
50 lines (40 loc) · 1.97 KB
/
pushed_authorize_handler.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
// Copyright © 2025 Ory Corp
// SPDX-License-Identifier: Apache-2.0
package internal
import (
"context"
"reflect"
gomock "go.uber.org/mock/gomock"
"github.com/ory/fosite"
)
// MockPushedAuthorizeEndpointHandler is a mock of PushedAuthorizeEndpointHandler interface
type MockPushedAuthorizeEndpointHandler struct {
ctrl *gomock.Controller
recorder *MockPushedAuthorizeEndpointHandlerMockRecorder
}
// MockPushedAuthorizeEndpointHandlerMockRecorder is the mock recorder for PushedMockAuthorizeEndpointHandler
type MockPushedAuthorizeEndpointHandlerMockRecorder struct {
mock *MockPushedAuthorizeEndpointHandler
}
// NewMockPushedAuthorizeEndpointHandler creates a new mock instance
func NewMockPushedAuthorizeEndpointHandler(ctrl *gomock.Controller) *MockPushedAuthorizeEndpointHandler {
mock := &MockPushedAuthorizeEndpointHandler{ctrl: ctrl}
mock.recorder = &MockPushedAuthorizeEndpointHandlerMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockPushedAuthorizeEndpointHandler) EXPECT() *MockPushedAuthorizeEndpointHandlerMockRecorder {
return m.recorder
}
// HandlePushedAuthorizeEndpointRequest mocks base method
func (m *MockPushedAuthorizeEndpointHandler) HandlePushedAuthorizeEndpointRequest(arg0 context.Context, arg1 fosite.AuthorizeRequester, arg2 fosite.PushedAuthorizeResponder) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "HandlePushedAuthorizeEndpointRequest", arg0, arg1, arg2)
ret0, _ := ret[0].(error)
return ret0
}
// HandlePushedAuthorizeEndpointRequest indicates an expected call of HandlePushedAuthorizeEndpointRequest
func (mr *MockPushedAuthorizeEndpointHandlerMockRecorder) HandlePushedAuthorizeEndpointRequest(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HandlePushedAuthorizeEndpointRequest", reflect.TypeOf((*MockPushedAuthorizeEndpointHandler)(nil).HandlePushedAuthorizeEndpointRequest), arg0, arg1, arg2)
}