Skip to content

Commit

Permalink
Remove unused imports from SecureOAuth2ServerToServerConfiguration
Browse files Browse the repository at this point in the history
Cleaned up unnecessary imports, including `GetUserInfo` and `JwtDecoder`, to improve code readability and maintainability. This change reduces clutter without affecting functionality.
  • Loading branch information
krharum committed Jan 6, 2025
1 parent e6d2977 commit 3ba3e8b
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import no.nav.testnav.libs.reactivesecurity.action.GetAuthenticatedResourceServerType;
import no.nav.testnav.libs.reactivesecurity.action.GetAuthenticatedToken;
import no.nav.testnav.libs.reactivesecurity.action.GetAuthenticatedUserId;
import no.nav.testnav.libs.reactivesecurity.action.GetUserInfo;
import no.nav.testnav.libs.reactivesecurity.exchange.TokenExchange;
import no.nav.testnav.libs.reactivesecurity.exchange.tokenx.TokenXService;
import no.nav.testnav.libs.reactivesecurity.manager.JwtReactiveAuthenticationManager;
Expand All @@ -17,7 +16,6 @@
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.security.oauth2.jwt.JwtDecoder;

import java.util.List;

Expand All @@ -31,8 +29,7 @@
GetAuthenticatedUserId.class,
GetAuthenticatedResourceServerType.class,
GetAuthenticatedToken.class,
TokenXProperties.class,
GetUserInfo.class
TokenXProperties.class
})
public class SecureOAuth2ServerToServerConfiguration {

Expand Down

0 comments on commit 3ba3e8b

Please sign in to comment.