mock_auth

package
v0.0.0-...-c380036 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mock_auth is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthorize

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

MockAuthorize is a mock of Authorize interface.

func NewMockAuthorize

func NewMockAuthorize(ctrl *gomock.Controller) *MockAuthorize

NewMockAuthorize creates a new mock instance.

func (*MockAuthorize) CreateJWT

func (m *MockAuthorize) CreateJWT(userId string) (string, error)

CreateJWT mocks base method.

func (*MockAuthorize) EXPECT

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

func (*MockAuthorize) ParseJWT

func (m *MockAuthorize) ParseJWT(token string) (string, error)

ParseJWT mocks base method.

type MockAuthorizeMockRecorder

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

MockAuthorizeMockRecorder is the mock recorder for MockAuthorize.

func (*MockAuthorizeMockRecorder) CreateJWT

func (mr *MockAuthorizeMockRecorder) CreateJWT(userId interface{}) *gomock.Call

CreateJWT indicates an expected call of CreateJWT.

func (*MockAuthorizeMockRecorder) ParseJWT

func (mr *MockAuthorizeMockRecorder) ParseJWT(token interface{}) *gomock.Call

ParseJWT indicates an expected call of ParseJWT.

Jump to

Keyboard shortcuts

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