forked from ory/fosite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
id_token_strategy.go
43 lines (35 loc) · 1.44 KB
/
id_token_strategy.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
// Automatically generated by MockGen. DO NOT EDIT!
// Source: github.com/ory-am/fosite/handler/openid (interfaces: OpenIDConnectTokenStrategy)
package internal
import (
gomock "github.com/golang/mock/gomock"
fosite "github.com/ory-am/fosite"
context "golang.org/x/net/context"
http "net/http"
)
// Mock of OpenIDConnectTokenStrategy interface
type MockOpenIDConnectTokenStrategy struct {
ctrl *gomock.Controller
recorder *_MockOpenIDConnectTokenStrategyRecorder
}
// Recorder for MockOpenIDConnectTokenStrategy (not exported)
type _MockOpenIDConnectTokenStrategyRecorder struct {
mock *MockOpenIDConnectTokenStrategy
}
func NewMockOpenIDConnectTokenStrategy(ctrl *gomock.Controller) *MockOpenIDConnectTokenStrategy {
mock := &MockOpenIDConnectTokenStrategy{ctrl: ctrl}
mock.recorder = &_MockOpenIDConnectTokenStrategyRecorder{mock}
return mock
}
func (_m *MockOpenIDConnectTokenStrategy) EXPECT() *_MockOpenIDConnectTokenStrategyRecorder {
return _m.recorder
}
func (_m *MockOpenIDConnectTokenStrategy) GenerateIDToken(_param0 context.Context, _param1 *http.Request, _param2 fosite.Requester) (string, error) {
ret := _m.ctrl.Call(_m, "GenerateIDToken", _param0, _param1, _param2)
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
func (_mr *_MockOpenIDConnectTokenStrategyRecorder) GenerateIDToken(arg0, arg1, arg2 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "GenerateIDToken", arg0, arg1, arg2)
}