diff options
| author | James Elliott <james-d-elliott@users.noreply.github.com> | 2025-02-22 18:10:25 +1100 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-22 07:10:25 +0000 | 
| commit | f67097c6cb7fe14ccac071b37d6323e17b377506 (patch) | |
| tree | b658563b77c399cc6e8ea7c18c91f00f14f7580f /internal/mocks | |
| parent | 25371bbdbf2dd22eaae6a922983277f7c776810e (diff) | |
feat(oidc): authorization policy network criteria (#8079)
This adds a network criteria to the Authorization Policies for OpenID Connect 1.0 clients. It's important to note that this can only be enforced at the time of the initial consent of an authorization request.
Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
Diffstat (limited to 'internal/mocks')
| -rw-r--r-- | internal/mocks/user_provider.go | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/mocks/user_provider.go b/internal/mocks/user_provider.go index 2bfcc262a..81fa53483 100644 --- a/internal/mocks/user_provider.go +++ b/internal/mocks/user_provider.go @@ -71,18 +71,18 @@ func (mr *MockUserProviderMockRecorder) GetDetails(username any) *gomock.Call {  }  // GetDetailsExtended mocks base method. -func (m *MockUserProvider) GetDetailsExtended(arg0 string) (*authentication.UserDetailsExtended, error) { +func (m *MockUserProvider) GetDetailsExtended(username string) (*authentication.UserDetailsExtended, error) {  	m.ctrl.T.Helper() -	ret := m.ctrl.Call(m, "GetDetailsExtended", arg0) +	ret := m.ctrl.Call(m, "GetDetailsExtended", username)  	ret0, _ := ret[0].(*authentication.UserDetailsExtended)  	ret1, _ := ret[1].(error)  	return ret0, ret1  }  // GetDetailsExtended indicates an expected call of GetDetailsExtended. -func (mr *MockUserProviderMockRecorder) GetDetailsExtended(arg0 any) *gomock.Call { +func (mr *MockUserProviderMockRecorder) GetDetailsExtended(username any) *gomock.Call {  	mr.mock.ctrl.T.Helper() -	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDetailsExtended", reflect.TypeOf((*MockUserProvider)(nil).GetDetailsExtended), arg0) +	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDetailsExtended", reflect.TypeOf((*MockUserProvider)(nil).GetDetailsExtended), username)  }  // StartupCheck mocks base method.  | 
