lambda-live-debugger
Version:
Debug Lambda functions locally like it is running in the cloud
14 lines (13 loc) • 371 B
JavaScript
export class DefaultIdentityProviderConfig {
authSchemes = new Map();
constructor(config) {
for (const [key, value] of Object.entries(config)) {
if (value !== undefined) {
this.authSchemes.set(key, value);
}
}
}
getIdentityProvider(schemeId) {
return this.authSchemes.get(schemeId);
}
}