forked from ory/fosite
/
revoke_handler.go
42 lines (33 loc) · 1.24 KB
/
revoke_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
// Automatically generated by MockGen. DO NOT EDIT!
// Source: github.com/ory/fosite (interfaces: RevocationHandler)
package internal
import (
context "context"
gomock "github.com/golang/mock/gomock"
fosite "github.com/ory/fosite"
)
// Mock of RevocationHandler interface
type MockRevocationHandler struct {
ctrl *gomock.Controller
recorder *_MockRevocationHandlerRecorder
}
// Recorder for MockRevocationHandler (not exported)
type _MockRevocationHandlerRecorder struct {
mock *MockRevocationHandler
}
func NewMockRevocationHandler(ctrl *gomock.Controller) *MockRevocationHandler {
mock := &MockRevocationHandler{ctrl: ctrl}
mock.recorder = &_MockRevocationHandlerRecorder{mock}
return mock
}
func (_m *MockRevocationHandler) EXPECT() *_MockRevocationHandlerRecorder {
return _m.recorder
}
func (_m *MockRevocationHandler) RevokeToken(_param0 context.Context, _param1 string, _param2 fosite.TokenType, _param3 fosite.Client) error {
ret := _m.ctrl.Call(_m, "RevokeToken", _param0, _param1, _param2, _param3)
ret0, _ := ret[0].(error)
return ret0
}
func (_mr *_MockRevocationHandlerRecorder) RevokeToken(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "RevokeToken", arg0, arg1, arg2, arg3)
}