UNPKG

lambda-live-debugger

Version:

Debug Lambda functions locally like it is running in the cloud

14 lines (13 loc) 380 B
export class DefaultIdentityProviderConfig { constructor(config) { this.authSchemes = new Map(); for (const [key, value] of Object.entries(config)) { if (value !== undefined) { this.authSchemes.set(key, value); } } } getIdentityProvider(schemeId) { return this.authSchemes.get(schemeId); } }