mock

package
v0.0.0-...-8450a52 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthorization

type MockAuthorization struct {
	// contains filtered or unexported fields
}

MockAuthorization is a mock of Authorization interface.

func NewMockAuthorization

func NewMockAuthorization(ctrl *gomock.Controller) *MockAuthorization

NewMockAuthorization creates a new mock instance.

func (*MockAuthorization) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAuthorization) GrantAuthorizationCode

func (m *MockAuthorization) GrantAuthorizationCode(ktx kontext.Context, authorizationReq entity.AuthorizationRequestJSON) (interface{}, jsonapi.Errors)

GrantAuthorizationCode mocks base method.

func (*MockAuthorization) GrantToken

GrantToken mocks base method.

func (*MockAuthorization) RevokeToken

func (m *MockAuthorization) RevokeToken(ktx kontext.Context, revokeAccessTokenReq entity.RevokeAccessTokenRequestJSON) jsonapi.Errors

RevokeToken mocks base method.

type MockAuthorizationMockRecorder

type MockAuthorizationMockRecorder struct {
	// contains filtered or unexported fields
}

MockAuthorizationMockRecorder is the mock recorder for MockAuthorization.

func (*MockAuthorizationMockRecorder) GrantAuthorizationCode

func (mr *MockAuthorizationMockRecorder) GrantAuthorizationCode(ktx, authorizationReq interface{}) *gomock.Call

GrantAuthorizationCode indicates an expected call of GrantAuthorizationCode.

func (*MockAuthorizationMockRecorder) GrantToken

func (mr *MockAuthorizationMockRecorder) GrantToken(ktx, accessTokenReq interface{}) *gomock.Call

GrantToken indicates an expected call of GrantToken.

func (*MockAuthorizationMockRecorder) RevokeToken

func (mr *MockAuthorizationMockRecorder) RevokeToken(ktx, revokeAccessTokenReq interface{}) *gomock.Call

RevokeToken indicates an expected call of RevokeToken.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL