CMSgov/dpc-app

View on GitHub
dpc-api/src/main/java/gov/cms/dpc/api/auth/macaroonauth/MacaroonsAuthenticator.java

Summary

Maintainability
A
1 hr
Test Coverage
F
12%

Method authenticate has 27 lines of code (exceeds 25 allowed). Consider refactoring.
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

    There are no issues that match your filters.

    Category
    Status