2022-01-11 23:40:38 +00:00
|
|
|
// Copyright 2020-2022 the Pinniped contributors. All Rights Reserved.
|
2020-10-06 22:27:36 +00:00
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
//
|
|
|
|
|
|
|
|
// Code generated by MockGen. DO NOT EDIT.
|
2021-03-01 16:08:57 +00:00
|
|
|
// Source: github.com/coreos/go-oidc/v3/oidc (interfaces: KeySet)
|
2020-10-06 22:27:36 +00:00
|
|
|
|
|
|
|
// Package mockkeyset is a generated GoMock package.
|
|
|
|
package mockkeyset
|
|
|
|
|
|
|
|
import (
|
|
|
|
context "context"
|
|
|
|
reflect "reflect"
|
2021-03-01 16:08:57 +00:00
|
|
|
|
|
|
|
gomock "github.com/golang/mock/gomock"
|
2020-10-06 22:27:36 +00:00
|
|
|
)
|
|
|
|
|
2021-03-01 16:08:57 +00:00
|
|
|
// MockKeySet is a mock of KeySet interface.
|
2020-10-06 22:27:36 +00:00
|
|
|
type MockKeySet struct {
|
|
|
|
ctrl *gomock.Controller
|
|
|
|
recorder *MockKeySetMockRecorder
|
|
|
|
}
|
|
|
|
|
2021-03-01 16:08:57 +00:00
|
|
|
// MockKeySetMockRecorder is the mock recorder for MockKeySet.
|
2020-10-06 22:27:36 +00:00
|
|
|
type MockKeySetMockRecorder struct {
|
|
|
|
mock *MockKeySet
|
|
|
|
}
|
|
|
|
|
2021-03-01 16:08:57 +00:00
|
|
|
// NewMockKeySet creates a new mock instance.
|
2020-10-06 22:27:36 +00:00
|
|
|
func NewMockKeySet(ctrl *gomock.Controller) *MockKeySet {
|
|
|
|
mock := &MockKeySet{ctrl: ctrl}
|
|
|
|
mock.recorder = &MockKeySetMockRecorder{mock}
|
|
|
|
return mock
|
|
|
|
}
|
|
|
|
|
2021-03-01 16:08:57 +00:00
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
2020-10-06 22:27:36 +00:00
|
|
|
func (m *MockKeySet) EXPECT() *MockKeySetMockRecorder {
|
|
|
|
return m.recorder
|
|
|
|
}
|
|
|
|
|
2021-03-01 16:08:57 +00:00
|
|
|
// VerifySignature mocks base method.
|
2020-10-06 22:27:36 +00:00
|
|
|
func (m *MockKeySet) VerifySignature(arg0 context.Context, arg1 string) ([]byte, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "VerifySignature", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].([]byte)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-03-01 16:08:57 +00:00
|
|
|
// VerifySignature indicates an expected call of VerifySignature.
|
2020-10-06 22:27:36 +00:00
|
|
|
func (mr *MockKeySetMockRecorder) VerifySignature(arg0, arg1 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifySignature", reflect.TypeOf((*MockKeySet)(nil).VerifySignature), arg0, arg1)
|
|
|
|
}
|