src/common/ClientRegistrar.ts
Function getClient
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
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,