OpenHPS/openhps-solid

View on GitHub
src/common/ClientRegistrar.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function getClient has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    async getClient(options: IClientRegistrarOptions, issuerConfig: IIssuerConfig): Promise<IClient> {
        // If client secret and/or client id are stored in storage, use those.
        const [storedClientId, storedClientSecret, storedClientName, storedClientType] = await Promise.all([
            this.storageUtility.getForUser(options.sessionId, 'clientId', {
                secure: false,
Severity: Minor
Found in src/common/ClientRegistrar.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status