-
-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
all: finalized auth endpoint, added tests, added integration tests
- Loading branch information
Aeneas Rekkas
committed
Jan 9, 2016
1 parent
6df0eca
commit c6dcb90
Showing
16 changed files
with
410 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
// Automatically generated by MockGen. DO NOT EDIT! | ||
// Source: client.go | ||
|
||
package internal | ||
|
||
import ( | ||
gomock "github.com/golang/mock/gomock" | ||
) | ||
|
||
// Mock of Client interface | ||
type MockClient struct { | ||
ctrl *gomock.Controller | ||
recorder *_MockClientRecorder | ||
} | ||
|
||
// Recorder for MockClient (not exported) | ||
type _MockClientRecorder struct { | ||
mock *MockClient | ||
} | ||
|
||
func NewMockClient(ctrl *gomock.Controller) *MockClient { | ||
mock := &MockClient{ctrl: ctrl} | ||
mock.recorder = &_MockClientRecorder{mock} | ||
return mock | ||
} | ||
|
||
func (_m *MockClient) EXPECT() *_MockClientRecorder { | ||
return _m.recorder | ||
} | ||
|
||
func (_m *MockClient) GetID() string { | ||
ret := _m.ctrl.Call(_m, "GetID") | ||
ret0, _ := ret[0].(string) | ||
return ret0 | ||
} | ||
|
||
func (_mr *_MockClientRecorder) GetID() *gomock.Call { | ||
return _mr.mock.ctrl.RecordCall(_mr.mock, "GetID") | ||
} | ||
|
||
func (_m *MockClient) CompareSecretWith(secret []byte) bool { | ||
ret := _m.ctrl.Call(_m, "CompareSecretWith", secret) | ||
ret0, _ := ret[0].(bool) | ||
return ret0 | ||
} | ||
|
||
func (_mr *_MockClientRecorder) CompareSecretWith(arg0 interface{}) *gomock.Call { | ||
return _mr.mock.ctrl.RecordCall(_mr.mock, "CompareSecretWith", arg0) | ||
} | ||
|
||
func (_m *MockClient) GetHashedSecret() []byte { | ||
ret := _m.ctrl.Call(_m, "GetHashedSecret") | ||
ret0, _ := ret[0].([]byte) | ||
return ret0 | ||
} | ||
|
||
func (_mr *_MockClientRecorder) GetHashedSecret() *gomock.Call { | ||
return _mr.mock.ctrl.RecordCall(_mr.mock, "GetHashedSecret") | ||
} | ||
|
||
func (_m *MockClient) GetRedirectURIs() []string { | ||
ret := _m.ctrl.Call(_m, "GetRedirectURIs") | ||
ret0, _ := ret[0].([]string) | ||
return ret0 | ||
} | ||
|
||
func (_mr *_MockClientRecorder) GetRedirectURIs() *gomock.Call { | ||
return _mr.mock.ctrl.RecordCall(_mr.mock, "GetRedirectURIs") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.