1313public class FakeServices implements SDK .Services {
1414
1515 private final AuthorizationServiceClientInterface authorizationService ;
16+ private final io .opentdf .platform .authorization .v2 .AuthorizationServiceClientInterface authorizationServiceV2 ;
1617 private final AttributesServiceClientInterface attributesService ;
1718 private final NamespaceServiceClientInterface namespaceService ;
1819 private final SubjectMappingServiceClientInterface subjectMappingService ;
@@ -23,6 +24,7 @@ public class FakeServices implements SDK.Services {
2324
2425 public FakeServices (
2526 AuthorizationServiceClientInterface authorizationService ,
27+ io .opentdf .platform .authorization .v2 .AuthorizationServiceClientInterface authorizationServiceV2 ,
2628 AttributesServiceClientInterface attributesService ,
2729 NamespaceServiceClientInterface namespaceService ,
2830 SubjectMappingServiceClientInterface subjectMappingService ,
@@ -31,6 +33,7 @@ public FakeServices(
3133 WellKnownServiceClientInterface wellKnownServiceClient ,
3234 SDK .KAS kas ) {
3335 this .authorizationService = authorizationService ;
36+ this .authorizationServiceV2 = authorizationServiceV2 ;
3437 this .attributesService = attributesService ;
3538 this .namespaceService = namespaceService ;
3639 this .subjectMappingService = subjectMappingService ;
@@ -40,6 +43,11 @@ public FakeServices(
4043 this .kas = kas ;
4144 }
4245
46+ @ Override
47+ public io .opentdf .platform .authorization .v2 .AuthorizationServiceClientInterface authorizationV2 () {
48+ return Objects .requireNonNull (authorizationServiceV2 );
49+ }
50+
4351 @ Override
4452 public AuthorizationServiceClientInterface authorization () {
4553 return Objects .requireNonNull (authorizationService );
0 commit comments