Documentation ¶
Overview ¶
Package claimsprincipal is a generated GoMock package.
Index ¶
- type MockIClaimsPrincipal
- func (m *MockIClaimsPrincipal) AddClaim(arg0 ...claimsprincipal.Claim)
- func (m *MockIClaimsPrincipal) EXPECT() *MockIClaimsPrincipalMockRecorder
- func (m *MockIClaimsPrincipal) GetClaims() []claimsprincipal.Claim
- func (m *MockIClaimsPrincipal) GetClaimsByType(arg0 string) []claimsprincipal.Claim
- func (m *MockIClaimsPrincipal) HasClaim(arg0 claimsprincipal.Claim) bool
- func (m *MockIClaimsPrincipal) HasClaimType(arg0 string) bool
- func (m *MockIClaimsPrincipal) RemoveClaim(arg0 ...claimsprincipal.Claim)
- type MockIClaimsPrincipalMockRecorder
- func (mr *MockIClaimsPrincipalMockRecorder) AddClaim(arg0 ...interface{}) *gomock.Call
- func (mr *MockIClaimsPrincipalMockRecorder) GetClaims() *gomock.Call
- func (mr *MockIClaimsPrincipalMockRecorder) GetClaimsByType(arg0 interface{}) *gomock.Call
- func (mr *MockIClaimsPrincipalMockRecorder) HasClaim(arg0 interface{}) *gomock.Call
- func (mr *MockIClaimsPrincipalMockRecorder) HasClaimType(arg0 interface{}) *gomock.Call
- func (mr *MockIClaimsPrincipalMockRecorder) RemoveClaim(arg0 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIClaimsPrincipal ¶
type MockIClaimsPrincipal struct {
// contains filtered or unexported fields
}
MockIClaimsPrincipal is a mock of IClaimsPrincipal interface.
func NewMockIClaimsPrincipal ¶
func NewMockIClaimsPrincipal(ctrl *gomock.Controller) *MockIClaimsPrincipal
NewMockIClaimsPrincipal creates a new mock instance.
func (*MockIClaimsPrincipal) AddClaim ¶
func (m *MockIClaimsPrincipal) AddClaim(arg0 ...claimsprincipal.Claim)
AddClaim mocks base method.
func (*MockIClaimsPrincipal) EXPECT ¶
func (m *MockIClaimsPrincipal) EXPECT() *MockIClaimsPrincipalMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIClaimsPrincipal) GetClaims ¶
func (m *MockIClaimsPrincipal) GetClaims() []claimsprincipal.Claim
GetClaims mocks base method.
func (*MockIClaimsPrincipal) GetClaimsByType ¶ added in v0.1.143
func (m *MockIClaimsPrincipal) GetClaimsByType(arg0 string) []claimsprincipal.Claim
GetClaimsByType mocks base method.
func (*MockIClaimsPrincipal) HasClaim ¶
func (m *MockIClaimsPrincipal) HasClaim(arg0 claimsprincipal.Claim) bool
HasClaim mocks base method.
func (*MockIClaimsPrincipal) HasClaimType ¶ added in v0.1.203
func (m *MockIClaimsPrincipal) HasClaimType(arg0 string) bool
HasClaimType mocks base method.
func (*MockIClaimsPrincipal) RemoveClaim ¶
func (m *MockIClaimsPrincipal) RemoveClaim(arg0 ...claimsprincipal.Claim)
RemoveClaim mocks base method.
type MockIClaimsPrincipalMockRecorder ¶
type MockIClaimsPrincipalMockRecorder struct {
// contains filtered or unexported fields
}
MockIClaimsPrincipalMockRecorder is the mock recorder for MockIClaimsPrincipal.
func (*MockIClaimsPrincipalMockRecorder) AddClaim ¶
func (mr *MockIClaimsPrincipalMockRecorder) AddClaim(arg0 ...interface{}) *gomock.Call
AddClaim indicates an expected call of AddClaim.
func (*MockIClaimsPrincipalMockRecorder) GetClaims ¶
func (mr *MockIClaimsPrincipalMockRecorder) GetClaims() *gomock.Call
GetClaims indicates an expected call of GetClaims.
func (*MockIClaimsPrincipalMockRecorder) GetClaimsByType ¶ added in v0.1.143
func (mr *MockIClaimsPrincipalMockRecorder) GetClaimsByType(arg0 interface{}) *gomock.Call
GetClaimsByType indicates an expected call of GetClaimsByType.
func (*MockIClaimsPrincipalMockRecorder) HasClaim ¶
func (mr *MockIClaimsPrincipalMockRecorder) HasClaim(arg0 interface{}) *gomock.Call
HasClaim indicates an expected call of HasClaim.
func (*MockIClaimsPrincipalMockRecorder) HasClaimType ¶ added in v0.1.203
func (mr *MockIClaimsPrincipalMockRecorder) HasClaimType(arg0 interface{}) *gomock.Call
HasClaimType indicates an expected call of HasClaimType.
func (*MockIClaimsPrincipalMockRecorder) RemoveClaim ¶
func (mr *MockIClaimsPrincipalMockRecorder) RemoveClaim(arg0 ...interface{}) *gomock.Call
RemoveClaim indicates an expected call of RemoveClaim.