diff options
| author | James Elliott <james-d-elliott@users.noreply.github.com> | 2023-10-27 20:24:13 +1100 | 
|---|---|---|
| committer | James Elliott <james-d-elliott@users.noreply.github.com> | 2024-03-04 20:28:24 +1100 | 
| commit | 87d2a3419d6f29db900bc1aeb4cf5d7769a15ce3 (patch) | |
| tree | a4efff47cb7be04f9fb1ce344cb9e40f4096dee6 /internal/mocks | |
| parent | c0dbdd97ab2ac580e3da07a0137dbc7a1b9c9b83 (diff) | |
feat(web): user one-time password preferences
This allows administrators to configure a list of Time-based One-Time Password parameters that users can pick from the web UI during registrations.
Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
Diffstat (limited to 'internal/mocks')
| -rw-r--r-- | internal/mocks/totp.go | 14 | 
1 files changed, 14 insertions, 0 deletions
diff --git a/internal/mocks/totp.go b/internal/mocks/totp.go index 8b029b6ea..ab61dfe30 100644 --- a/internal/mocks/totp.go +++ b/internal/mocks/totp.go @@ -64,6 +64,20 @@ func (mr *MockTOTPMockRecorder) GenerateCustom(arg0, arg1, arg2, arg3, arg4, arg  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GenerateCustom", reflect.TypeOf((*MockTOTP)(nil).GenerateCustom), arg0, arg1, arg2, arg3, arg4, arg5)  } +// Options mocks base method. +func (m *MockTOTP) Options() model.TOTPOptions { +	m.ctrl.T.Helper() +	ret := m.ctrl.Call(m, "Options") +	ret0, _ := ret[0].(model.TOTPOptions) +	return ret0 +} + +// Options indicates an expected call of Options. +func (mr *MockTOTPMockRecorder) Options() *gomock.Call { +	mr.mock.ctrl.T.Helper() +	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Options", reflect.TypeOf((*MockTOTP)(nil).Options)) +} +  // Validate mocks base method.  func (m *MockTOTP) Validate(arg0 string, arg1 *model.TOTPConfiguration) (bool, error) {  	m.ctrl.T.Helper()  | 
