dpc-api/src/main/java/gov/cms/dpc/api/auth/macaroonauth/MacaroonsAuthenticator.java
Method authenticate
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Confirmed
Confirmed
@Override
public Optional<OrganizationPrincipal> authenticate(DPCAuthCredentials credentials) {
logger.debug("Performing token authentication");
// If we don't have a path authorizer, just return the principal