...

Source file src/github.com/ory/fosite/internal/client.go

Documentation: github.com/ory/fosite/internal

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/ory/fosite (interfaces: Client)
     3  
     4  // Package internal is a generated GoMock package.
     5  package internal
     6  
     7  import (
     8  	reflect "reflect"
     9  
    10  	gomock "github.com/golang/mock/gomock"
    11  
    12  	fosite "github.com/ory/fosite"
    13  )
    14  
    15  // MockClient is a mock of Client interface
    16  type MockClient struct {
    17  	ctrl     *gomock.Controller
    18  	recorder *MockClientMockRecorder
    19  }
    20  
    21  // MockClientMockRecorder is the mock recorder for MockClient
    22  type MockClientMockRecorder struct {
    23  	mock *MockClient
    24  }
    25  
    26  // NewMockClient creates a new mock instance
    27  func NewMockClient(ctrl *gomock.Controller) *MockClient {
    28  	mock := &MockClient{ctrl: ctrl}
    29  	mock.recorder = &MockClientMockRecorder{mock}
    30  	return mock
    31  }
    32  
    33  // EXPECT returns an object that allows the caller to indicate expected use
    34  func (m *MockClient) EXPECT() *MockClientMockRecorder {
    35  	return m.recorder
    36  }
    37  
    38  // GetAudience mocks base method
    39  func (m *MockClient) GetAudience() fosite.Arguments {
    40  	m.ctrl.T.Helper()
    41  	ret := m.ctrl.Call(m, "GetAudience")
    42  	ret0, _ := ret[0].(fosite.Arguments)
    43  	return ret0
    44  }
    45  
    46  // GetAudience indicates an expected call of GetAudience
    47  func (mr *MockClientMockRecorder) GetAudience() *gomock.Call {
    48  	mr.mock.ctrl.T.Helper()
    49  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAudience", reflect.TypeOf((*MockClient)(nil).GetAudience))
    50  }
    51  
    52  // GetGrantTypes mocks base method
    53  func (m *MockClient) GetGrantTypes() fosite.Arguments {
    54  	m.ctrl.T.Helper()
    55  	ret := m.ctrl.Call(m, "GetGrantTypes")
    56  	ret0, _ := ret[0].(fosite.Arguments)
    57  	return ret0
    58  }
    59  
    60  // GetGrantTypes indicates an expected call of GetGrantTypes
    61  func (mr *MockClientMockRecorder) GetGrantTypes() *gomock.Call {
    62  	mr.mock.ctrl.T.Helper()
    63  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetGrantTypes", reflect.TypeOf((*MockClient)(nil).GetGrantTypes))
    64  }
    65  
    66  // GetHashedSecret mocks base method
    67  func (m *MockClient) GetHashedSecret() []byte {
    68  	m.ctrl.T.Helper()
    69  	ret := m.ctrl.Call(m, "GetHashedSecret")
    70  	ret0, _ := ret[0].([]byte)
    71  	return ret0
    72  }
    73  
    74  // GetHashedSecret indicates an expected call of GetHashedSecret
    75  func (mr *MockClientMockRecorder) GetHashedSecret() *gomock.Call {
    76  	mr.mock.ctrl.T.Helper()
    77  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetHashedSecret", reflect.TypeOf((*MockClient)(nil).GetHashedSecret))
    78  }
    79  
    80  // GetHashedSecret mocks base method
    81  func (m *MockClient) GetRotatedHashes() [][]byte {
    82  	m.ctrl.T.Helper()
    83  	ret := m.ctrl.Call(m, "GetRotatedHashes")
    84  	ret0, _ := ret[0].([][]byte)
    85  	return ret0
    86  }
    87  
    88  // GetHashedSecret indicates an expected call of GetHashedSecret
    89  func (mr *MockClientMockRecorder) GetRotatedHashes() *gomock.Call {
    90  	mr.mock.ctrl.T.Helper()
    91  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRotatedHashes", reflect.TypeOf((*MockClient)(nil).GetRotatedHashes))
    92  }
    93  
    94  // GetID mocks base method
    95  func (m *MockClient) GetID() string {
    96  	m.ctrl.T.Helper()
    97  	ret := m.ctrl.Call(m, "GetID")
    98  	ret0, _ := ret[0].(string)
    99  	return ret0
   100  }
   101  
   102  // GetID indicates an expected call of GetID
   103  func (mr *MockClientMockRecorder) GetID() *gomock.Call {
   104  	mr.mock.ctrl.T.Helper()
   105  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetID", reflect.TypeOf((*MockClient)(nil).GetID))
   106  }
   107  
   108  // GetRedirectURIs mocks base method
   109  func (m *MockClient) GetRedirectURIs() []string {
   110  	m.ctrl.T.Helper()
   111  	ret := m.ctrl.Call(m, "GetRedirectURIs")
   112  	ret0, _ := ret[0].([]string)
   113  	return ret0
   114  }
   115  
   116  // GetRedirectURIs indicates an expected call of GetRedirectURIs
   117  func (mr *MockClientMockRecorder) GetRedirectURIs() *gomock.Call {
   118  	mr.mock.ctrl.T.Helper()
   119  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRedirectURIs", reflect.TypeOf((*MockClient)(nil).GetRedirectURIs))
   120  }
   121  
   122  // GetResponseTypes mocks base method
   123  func (m *MockClient) GetResponseTypes() fosite.Arguments {
   124  	m.ctrl.T.Helper()
   125  	ret := m.ctrl.Call(m, "GetResponseTypes")
   126  	ret0, _ := ret[0].(fosite.Arguments)
   127  	return ret0
   128  }
   129  
   130  // GetResponseTypes indicates an expected call of GetResponseTypes
   131  func (mr *MockClientMockRecorder) GetResponseTypes() *gomock.Call {
   132  	mr.mock.ctrl.T.Helper()
   133  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetResponseTypes", reflect.TypeOf((*MockClient)(nil).GetResponseTypes))
   134  }
   135  
   136  // GetScopes mocks base method
   137  func (m *MockClient) GetScopes() fosite.Arguments {
   138  	m.ctrl.T.Helper()
   139  	ret := m.ctrl.Call(m, "GetScopes")
   140  	ret0, _ := ret[0].(fosite.Arguments)
   141  	return ret0
   142  }
   143  
   144  // GetScopes indicates an expected call of GetScopes
   145  func (mr *MockClientMockRecorder) GetScopes() *gomock.Call {
   146  	mr.mock.ctrl.T.Helper()
   147  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetScopes", reflect.TypeOf((*MockClient)(nil).GetScopes))
   148  }
   149  
   150  // IsPublic mocks base method
   151  func (m *MockClient) IsPublic() bool {
   152  	m.ctrl.T.Helper()
   153  	ret := m.ctrl.Call(m, "IsPublic")
   154  	ret0, _ := ret[0].(bool)
   155  	return ret0
   156  }
   157  
   158  // IsPublic indicates an expected call of IsPublic
   159  func (mr *MockClientMockRecorder) IsPublic() *gomock.Call {
   160  	mr.mock.ctrl.T.Helper()
   161  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsPublic", reflect.TypeOf((*MockClient)(nil).IsPublic))
   162  }
   163  

View as plain text