Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReqDataParser ¶
ReqDataParser is an autogenerated mock type for the ReqDataParser type
func NewReqDataParser ¶
func NewReqDataParser(t interface { mock.TestingT Cleanup(func()) }) *ReqDataParser
NewReqDataParser creates a new instance of ReqDataParser. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ReqDataParser) Parse ¶
func (_m *ReqDataParser) Parse(req *http.Request) (oathkeeper.ReqData, error)
Parse provides a mock function with given fields: req
type TokenData ¶
TokenData is an autogenerated mock type for the TokenData type
func NewTokenData ¶
NewTokenData creates a new instance of TokenData. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
type TokenVerifier ¶
TokenVerifier is an autogenerated mock type for the TokenVerifier type
func NewTokenVerifier ¶
func NewTokenVerifier(t interface { mock.TestingT Cleanup(func()) }) *TokenVerifier
NewTokenVerifier creates a new instance of TokenVerifier. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TokenVerifier) Verify ¶
func (_m *TokenVerifier) Verify(ctx context.Context, token string) (authnmappinghandler.TokenData, error)
Verify provides a mock function with given fields: ctx, token